public interface R2LightBufferUsableType extends R2RenderTargetUsableType<R2LightBufferDescription>
Modifier and Type | Method and Description |
---|---|
<A,B,E extends Throwable> |
matchLightBuffer(A context,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightBufferDiffuseOnlyUsableType,B,E> on_diffuse,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightBufferSpecularOnlyUsableType,B,E> on_specular,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightBufferDiffuseSpecularUsableType,B,E> on_diffuse_specular)
Match on the type of projective light.
|
clearBoundPrimaryFramebuffer, description, primaryFramebuffer, size, sizeAsViewport
<A,B,E extends Throwable> B matchLightBuffer(A context, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightBufferDiffuseOnlyUsableType,B,E> on_diffuse, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightBufferSpecularOnlyUsableType,B,E> on_specular, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightBufferDiffuseSpecularUsableType,B,E> on_diffuse_specular) throws E extends Throwable
A
- The type of context valuesB
- The type of returned valuesE
- The type of raised exceptionscontext
- A context valueon_diffuse
- Evaluated for diffuse-only light bufferson_diffuse_specular
- Evaluated for diffuse+specular light bufferson_specular
- Evaluated for specular-only light buffersB
E
- If any of the given functions raise E
E extends Throwable
Copyright © 2017 <code@io7m.com> http://io7m.com