M - The type of parameter datapublic interface R2ShaderTranslucentInstanceBillboardedUsableType<M> extends R2ShaderTranslucentUsableType<M>
| Modifier and Type | Method and Description |
|---|---|
void |
onReceiveMaterialValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersMaterialType<M> mat_parameters)
Set material values.
|
void |
onReceiveViewValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersViewType view_parameters)
Set shader values that are derived from the current view.
|
suggestedBlendStateonActivate, onDeactivate, onValidate, shaderID, shaderParametersType, shaderProgramvoid onReceiveViewValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersViewType view_parameters)
Set shader values that are derived from the current view.
This method will be called exactly once between calls to R2ShaderUsableType.onActivate(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type)
and R2ShaderUsableType.onValidate().
g - An OpenGL interfaceview_parameters - The view parametersvoid onReceiveMaterialValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersMaterialType<M> mat_parameters)
Set material values.
This method will be called once for each group of instances that use the
material M.
This method will be called after a call to R2ShaderUsableType.onActivate(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type)
and before a call to R2ShaderUsableType.onValidate().
g - A texture interfacemat_parameters - The material parametersCopyright © 2016 <code@io7m.com> http://io7m.com