public interface R2LightSingleReadableType extends R2LightReadableType
| Modifier and Type | Method and Description |
|---|---|
com.io7m.jcanephora.core.JCGLArrayObjectUsableType |
arrayObject() |
<A,B,E extends Throwable> |
matchLightSingle(A context,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightVolumeSingleType,B,E> on_volume,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightScreenSingleType,B,E> on_screen)
Match on the type of light.
|
R2TransformReadableType |
transform() |
color, intensity, lightIDcom.io7m.jcanephora.core.JCGLArrayObjectUsableType arrayObject()
R2TransformReadableType transform()
<A,B,E extends Throwable> B matchLightSingle(A context, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightVolumeSingleType,B,E> on_volume, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightScreenSingleType,B,E> on_screen) throws E extends Throwable
A - The type of context valuesB - The type of returned valuesE - The type of raised exceptionscontext - A context valueon_volume - Evaluated for volume lightson_screen - Evaluated for screen lightsBE - If any of the given functions raise EE extends ThrowableCopyright © 2017 <code@io7m.com> http://io7m.com