M
- The type of shader parameterspublic interface R2ShaderLightProjectiveUsableType<M extends R2LightProjectiveReadableType> extends R2ShaderLightVolumeSingleUsableType<M>
Modifier and Type | Method and Description |
---|---|
void |
onReceiveProjectiveLight(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2MatricesProjectiveLightValuesType m)
Set shader values that are derived from the current projective
light.
|
onReceiveVolumeLightTransform
onReceiveBoundGeometryBufferTextures, onReceiveValues
environment, onActivate, onDeactivate, onValidate, shaderID, shaderParametersType, shaderProgram
void onReceiveProjectiveLight(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g, R2MatricesProjectiveLightValuesType m)
Set shader values that are derived from the current projective light.
This method will be called once for each projective light that uses the current 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