Interface GameStateProvider
- All Known Implementing Classes:
NormalDebugStateProvider
public interface GameStateProvider
An object that provides a view of the current game state for shader compilation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidalterConstants(ShaderConstants constants) Alter the constants for shader compilation.booleanisTrue()Get the status of this game state provider.
-
Method Details
-
isTrue
boolean isTrue()Get the status of this game state provider.- Returns:
- Returning
truewill cause #alterConstants to be called before compiling a shader.
-
alterConstants
Alter the constants for shader compilation.- Parameters:
constants- The shader constants.
-