GPUColorTargetState
public final class GPUColorTargetState
Describes the state of a single color target in a render pipeline.
Summary
Public constructors |
|---|
GPUColorTargetState(int format, GPUBlendState blend, int writeMask) |
Public methods |
|
|---|---|
final GPUBlendState |
getBlend()The blending state for this target. |
final int |
The texture format of the color target. |
final int |
|
final void |
setBlend(GPUBlendState value)The blending state for this target. |
final void |
setFormat(int value)The texture format of the color target. |
final void |
setWriteMask(int value) |
Public constructors
GPUColorTargetState
Added in 1.0.0-alpha05
public GPUColorTargetState(int format, GPUBlendState blend, int writeMask)
Public methods
getBlend
Added in 1.0.0-alpha05
public final GPUBlendState getBlend()
The blending state for this target.
getFormat
Added in 1.0.0-alpha05
public final int getFormat()
The texture format of the color target.
setBlend
Added in 1.0.0-alpha05
public final void setBlend(GPUBlendState value)
The blending state for this target.
setFormat
Added in 1.0.0-alpha05
public final void setFormat(int value)
The texture format of the color target.