M - The type of shader parameterspublic interface R2TranslucentBatchedType<M> extends R2TranslucentType<M>
| Modifier and Type | Method and Description |
|---|---|
Optional<com.io7m.jcanephora.renderstate.JCGLBlendState> |
blending() |
com.io7m.jcanephora.renderstate.JCGLCullingState |
culling() |
R2InstanceBatchedType |
instance() |
default <A,B,E extends Throwable> |
matchTranslucent(A context,
com.io7m.jfunctional.PartialBiFunctionType<A,R2TranslucentSingleType<M>,B,E> on_single,
com.io7m.jfunctional.PartialBiFunctionType<A,R2TranslucentBatchedType<M>,B,E> on_batched,
com.io7m.jfunctional.PartialBiFunctionType<A,R2TranslucentBillboardedType<M>,B,E> on_billboarded)
Match on the type of translucent.
|
R2ShaderTranslucentInstanceBatchedType<M> |
shader() |
M |
shaderParameters() |
shaderParametersTypedefault <A,B,E extends Throwable> B matchTranslucent(A context, com.io7m.jfunctional.PartialBiFunctionType<A,R2TranslucentSingleType<M>,B,E> on_single, com.io7m.jfunctional.PartialBiFunctionType<A,R2TranslucentBatchedType<M>,B,E> on_batched, com.io7m.jfunctional.PartialBiFunctionType<A,R2TranslucentBillboardedType<M>,B,E> on_billboarded) throws E extends Throwable
R2TranslucentTypematchTranslucent in interface R2TranslucentType<M>A - The type of context valuesB - The type of returned valuesE - The type of raised exceptionscontext - A context valueon_single - Evaluated for single instanceson_batched - Evaluated for batched instanceson_billboarded - Evaluated for billboarded instancesBE - If any of the given functions raise EE extends ThrowableR2InstanceBatchedType instance()
R2ShaderTranslucentInstanceBatchedType<M> shader()
M shaderParameters()
shaderParameters in interface R2TranslucentType<M>Optional<com.io7m.jcanephora.renderstate.JCGLBlendState> blending()
blending in interface R2TranslucentType<M>com.io7m.jcanephora.renderstate.JCGLCullingState culling()
culling in interface R2TranslucentType<M>Copyright © 2016 <code@io7m.com> http://io7m.com