public final class R2ShaderFilterLightApplicator extends R2AbstractShader<R2ShaderFilterLightApplicatorParameters> implements R2ShaderFilterType<R2ShaderFilterLightApplicatorParameters>
| Modifier and Type | Method and Description |
|---|---|
static R2ShaderFilterType<R2ShaderFilterLightApplicatorParameters> |
newShader(com.io7m.jcanephora.core.api.JCGLShadersType in_shaders,
R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
R2IDPoolType in_pool)
Construct a new shader.
|
void |
onReceiveFilterValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersFilterType<R2ShaderFilterLightApplicatorParameters> parameters)
Set filter values.
|
void |
onValidate()
Validate the shader prior to executing a draw call.
|
Class<R2ShaderFilterLightApplicatorParameters> |
shaderParametersType() |
delete, isDeleted, onActivate, onDeactivate, shaderID, shaderProgramclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteonActivate, onDeactivate, shaderID, shaderProgrampublic static R2ShaderFilterType<R2ShaderFilterLightApplicatorParameters> newShader(com.io7m.jcanephora.core.api.JCGLShadersType in_shaders, R2ShaderPreprocessingEnvironmentReadableType in_shader_env, R2IDPoolType in_pool)
in_shaders - A shader interfacein_shader_env - Shader sourcesin_pool - The ID poolpublic Class<R2ShaderFilterLightApplicatorParameters> shaderParametersType()
shaderParametersType in interface R2ShaderUsableType<R2ShaderFilterLightApplicatorParameters>public void onValidate()
throws R2ExceptionShaderValidationFailed
R2ShaderUsableTypeonValidate in interface R2ShaderUsableType<R2ShaderFilterLightApplicatorParameters>R2ExceptionShaderValidationFailed - If validation failspublic void onReceiveFilterValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersFilterType<R2ShaderFilterLightApplicatorParameters> parameters)
R2ShaderFilterUsableTypeSet filter values.
This method will be called exactly once between calls to R2ShaderUsableType.onActivate(JCGLInterfaceGL33Type) and R2ShaderUsableType.onValidate().
onReceiveFilterValues in interface R2ShaderFilterUsableType<R2ShaderFilterLightApplicatorParameters>g - A texture interfaceparameters - The current filter parametersCopyright © 2017 <code@io7m.com> http://io7m.com