| Package | Description |
|---|---|
| com.io7m.jcanephora.renderstate |
Render state abstraction.
|
| Modifier and Type | Method and Description |
|---|---|
JCGLRenderStateMutable |
JCGLRenderStateMutable.clear()
Clears the object by setting all attributes to their initial values.
|
static JCGLRenderStateMutable |
JCGLRenderStateMutable.create()
Construct a modifiable instance of
JCGLRenderStateType. |
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. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.from(JCGLRenderStateType instance)
Fill this modifiable instance with attribute values from the provided
JCGLRenderStateType instance. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setBlendState(JCGLBlendStateType blendState)
Assigns a present value for the optional
blendState attribute. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setBlendState(Optional<JCGLBlendStateType> blendState)
Assigns an optional value for
blendState. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setColorBufferMaskingState(JCGLColorBufferMaskingStateType colorBufferMaskingState)
Assigns a value to the
colorBufferMaskingState attribute. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setCullingState(JCGLCullingStateType cullingState)
Assigns a present value for the optional
cullingState attribute. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setCullingState(Optional<JCGLCullingStateType> cullingState)
Assigns an optional value for
cullingState. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setDepthState(JCGLDepthStateType depthState)
Assigns a value to the
depthState attribute. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setPolygonMode(JCGLPolygonMode polygonMode)
Assigns a value to the
polygonMode attribute. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setScissor(com.io7m.jareas.core.AreaInclusiveUnsignedLType scissor)
Assigns a present value for the optional
scissor attribute. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setScissor(Optional<com.io7m.jareas.core.AreaInclusiveUnsignedLType> scissor)
Assigns an optional value for
scissor. |
JCGLRenderStateMutable |
JCGLRenderStateMutable.setStencilState(JCGLStencilStateType stencilState)
Assigns a value to the
stencilState attribute. |
Copyright © 2016 <code@io7m.com> http://io7m.com