| Package | Description |
|---|---|
| com.io7m.jcanephora.renderstate |
Render state abstraction.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JCGLBlendState
Blending state.
|
class |
JCGLBlendStateMutable
A modifiable implementation of the
JCGLBlendStateType type. |
| Modifier and Type | Method and Description |
|---|---|
Optional<JCGLBlendStateType> |
JCGLRenderStateType.getBlendState() |
Optional<JCGLBlendStateType> |
JCGLRenderStateMutable.getBlendState() |
Optional<JCGLBlendStateType> |
JCGLRenderState.getBlendState() |
| Modifier and Type | Method and Description |
|---|---|
JCGLBlendStateMutable |
JCGLBlendStateMutable.from(JCGLBlendStateType instance)
Fill this modifiable instance with attribute values from the provided
JCGLBlendStateType instance. |
JCGLBlendState.Builder |
JCGLBlendState.Builder.from(JCGLBlendStateType instance)
Fill a builder with attribute values from the provided
JCGLBlendStateType instance. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setBlendState(JCGLBlendStateType blendState)
Assigns a present value for the optional
blendState attribute. |
JCGLRenderState.Builder |
JCGLRenderState.Builder.setBlendState(JCGLBlendStateType blendState)
Initializes the optional value
blendState to blendState. |
| 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.setBlendState(Optional<JCGLBlendStateType> blendState)
Assigns an optional value for
blendState. |
JCGLRenderState.Builder |
JCGLRenderState.Builder.setBlendState(Optional<JCGLBlendStateType> blendState)
Initializes the optional value
blendState to blendState. |
Copyright © 2016 <code@io7m.com> http://io7m.com