Package gaiasky.util.gdx.shader.provider
Interface IntShaderProvider
- All Known Implementing Classes:
AtmosphereShaderProvider
,BaseIntShaderProvider
,DefaultIntShaderProvider
,DepthIntShaderProvider
,GroundShaderProvider
,RelativisticShaderProvider
,TessellationShaderProvider
public interface IntShaderProvider
Returns
IntShader
instances for a IntRenderable
on request. Also responsible for disposing of any created
ShaderProgram
instances on a call to dispose()
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes all resources created by the providergetShader
(IntRenderable renderable) Returns aIntShader
for the givenIntRenderable
.
-
Method Details
-
getShader
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
-