GPUColorTargetState
public final class GPUColorTargetState
Defines the configuration for a single color attachment in a render pipeline.
Summary
Public constructors |
|---|
GPUColorTargetState(int format, GPUBlendState blend, int writeMask) |
Public methods |
|
|---|---|
final GPUBlendState |
getBlend()The blend state to apply, if blending is enabled. |
final int |
The texture format of the color attachment. |
final int |
|
final void |
setBlend(GPUBlendState blend)The blend state to apply, if blending is enabled. |
final void |
setFormat(int format)The texture format of the color attachment. |
final void |
setWriteMask(int writeMask) |
Public constructors
GPUColorTargetState
Added in 1.0.0-alpha02
public GPUColorTargetState(int format, GPUBlendState blend, int writeMask)
Public methods
getBlend
Added in 1.0.0-alpha02
public final GPUBlendState getBlend()
The blend state to apply, if blending is enabled.
getFormat
Added in 1.0.0-alpha02
public final int getFormat()
The texture format of the color attachment.
setBlend
Added in 1.0.0-alpha02
public final void setBlend(GPUBlendState blend)
The blend state to apply, if blending is enabled.
setFormat
Added in 1.0.0-alpha02
public final void setFormat(int format)
The texture format of the color attachment.