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