Interface IntShaderProvider
-
- All Known Implementing Classes:
AtmosphereShaderProvider
,BaseIntShaderProvider
,DefaultIntShaderProvider
,DepthIntShaderProvider
,GroundShaderProvider
,RelativisticShaderProvider
,TessellationShaderProvider
public interface IntShaderProvider
ReturnsIntShader
instances for aIntRenderable
on request. Also responsible for disposing of any createdShaderProgram
instances on a call todispose()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Disposes all resources created by the providerIntShader
getShader(IntRenderable renderable)
Returns aIntShader
for the givenIntRenderable
.
-
-
-
Method Detail
-
getShader
IntShader getShader(IntRenderable renderable)
Returns aIntShader
for the givenIntRenderable
. The RenderInstance may already contain a IntShader, in which case the provider may decide to return that.- Parameters:
renderable
- the Renderable- Returns:
- the IntShader to be used for the RenderInstance
-
dispose
void dispose()
Disposes all resources created by the provider
-
-