| Package | Description |
|---|---|
| com.io7m.jcanephora.renderstate |
Render state abstraction.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JCGLCullingState
Face culling state.
|
class |
JCGLCullingStateMutable
A modifiable implementation of the
JCGLCullingStateType type. |
| Modifier and Type | Method and Description |
|---|---|
Optional<JCGLCullingStateType> |
JCGLRenderStateType.getCullingState() |
Optional<JCGLCullingStateType> |
JCGLRenderStateMutable.getCullingState() |
Optional<JCGLCullingStateType> |
JCGLRenderState.getCullingState() |
| Modifier and Type | Method and Description |
|---|---|
JCGLCullingStateMutable |
JCGLCullingStateMutable.from(JCGLCullingStateType instance)
Fill this modifiable instance with attribute values from the provided
JCGLCullingStateType instance. |
JCGLCullingState.Builder |
JCGLCullingState.Builder.from(JCGLCullingStateType instance)
Fill a builder with attribute values from the provided
JCGLCullingStateType instance. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setCullingState(JCGLCullingStateType cullingState)
Assigns a present value for the optional
cullingState attribute. |
JCGLRenderState.Builder |
JCGLRenderState.Builder.setCullingState(JCGLCullingStateType cullingState)
Initializes the optional value
cullingState to cullingState. |
| Modifier and Type | Method and Description |
|---|---|
static JCGLRenderStateMutable |
JCGLRenderStateMutable.create(Optional<JCGLBlendStateType> blendState,
Optional<JCGLCullingStateType> cullingState,
JCGLColorBufferMaskingStateType colorBufferMaskingState,
JCGLPolygonMode polygonMode,
Optional<com.io7m.jareas.core.AreaInclusiveUnsignedLType> scissor,
JCGLDepthStateType depthState,
JCGLStencilStateType stencilState)
Construct a modifiable instance of
JCGLRenderStateType. |
static JCGLRenderState |
JCGLRenderState.of(Optional<JCGLBlendStateType> blendState,
Optional<JCGLCullingStateType> cullingState,
JCGLColorBufferMaskingStateType colorBufferMaskingState,
JCGLPolygonMode polygonMode,
Optional<com.io7m.jareas.core.AreaInclusiveUnsignedLType> scissor,
JCGLDepthStateType depthState,
JCGLStencilStateType stencilState)
Construct a new immutable
JCGLRenderState instance. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setCullingState(Optional<JCGLCullingStateType> cullingState)
Assigns an optional value for
cullingState. |
JCGLRenderState.Builder |
JCGLRenderState.Builder.setCullingState(Optional<JCGLCullingStateType> cullingState)
Initializes the optional value
cullingState to cullingState. |
Copyright © 2016 <code@io7m.com> http://io7m.com