ColorTargetState
public final class ColorTargetState
Defines the configuration for a single color attachment in a render pipeline.
Summary
Public constructors |
|---|
ColorTargetState(int format, BlendState blend, int writeMask) |
Public methods |
|
|---|---|
final BlendState |
getBlend()The blend state to apply, if blending is enabled. |
final int |
The texture format of the color attachment. |
final int |
|
final void |
setBlend(BlendState 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
ColorTargetState
Added in 1.0.0-alpha01
public ColorTargetState(int format, BlendState blend, int writeMask)
Public methods
getBlend
Added in 1.0.0-alpha01
public final BlendState getBlend()
The blend state to apply, if blending is enabled.
getFormat
Added in 1.0.0-alpha01
public final int getFormat()
The texture format of the color attachment.
setBlend
Added in 1.0.0-alpha01
public final void setBlend(BlendState blend)
The blend state to apply, if blending is enabled.
setFormat
Added in 1.0.0-alpha01
public final void setFormat(int format)
The texture format of the color attachment.