public interface R2ShadowType
| Modifier and Type | Method and Description |
|---|---|
<A,B,E extends Throwable> |
matchShadow(A context,
com.io7m.jfunctional.PartialBiFunctionType<A,R2ShadowDepthVarianceType,B,E> on_variance)
Match on the type of light.
|
default float |
minimumFactor()
The level to which the shadow is allowed to attenuate light.
|
long |
shadowID() |
long shadowID()
default float minimumFactor()
n means that if a point is in shadow, the light intensity will be
attenuated down to n.<A,B,E extends Throwable> B matchShadow(A context, com.io7m.jfunctional.PartialBiFunctionType<A,R2ShadowDepthVarianceType,B,E> on_variance) throws E extends Throwable
A - The type of context valuesB - The type of returned valuesE - The type of raised exceptionscontext - A context valueon_variance - Evaluated for variance shadowsBE - If any of the given functions raise EE extends ThrowableCopyright © 2016 <code@io7m.com> http://io7m.com