M
- The type of shader parameterspublic interface R2TranslucentType<M>
Modifier and Type | Method and Description |
---|---|
Optional<com.io7m.jcanephora.renderstate.JCGLBlendState> |
blending() |
com.io7m.jcanephora.renderstate.JCGLCullingState |
culling() |
<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.
|
M |
shaderParameters() |
default Class<M> |
shaderParametersType() |
<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
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 instancesB
E
- If any of the given functions raise E
E extends Throwable
M shaderParameters()
Optional<com.io7m.jcanephora.renderstate.JCGLBlendState> blending()
com.io7m.jcanephora.renderstate.JCGLCullingState culling()
Copyright © 2017 <code@io7m.com> http://io7m.com