M
- The type of shader parameterspublic interface R2ShaderLightVolumeSingleUsableType<M extends R2LightVolumeSingleReadableType> extends R2ShaderLightSingleUsableType<M>
Modifier and Type | Method and Description |
---|---|
void |
onReceiveVolumeLightTransform(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2MatricesVolumeLightValuesType m)
Set shader values that are derived from the current volume light
transform.
|
onReceiveBoundGeometryBufferTextures, onReceiveValues
environment, onActivate, onDeactivate, onValidate, shaderID, shaderParametersType, shaderProgram
void onReceiveVolumeLightTransform(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g, R2MatricesVolumeLightValuesType m)
Set shader values that are derived from the current volume light transform.
This method will be called exactly once for each light that uses the shader.
This method will be called after a call to R2ShaderUsableType.onActivate(JCGLInterfaceGL33Type)
and before a call to R2ShaderUsableType.onValidate()
.
g
- An OpenGL interfacem
- The instance matricesCopyright © 2017 <code@io7m.com> http://io7m.com