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

The blending state for this target.

final int

The texture format of the color target.

final int
final void

The blending state for this target.

final void
setFormat(int format)

The texture format of the color target.

final void
setWriteMask(int writeMask)

Public constructors

GPUColorTargetState

Added in 1.0.0-alpha04
public GPUColorTargetState(int format, GPUBlendState blend, int writeMask)

Public methods

getBlend

Added in 1.0.0-alpha04
public final GPUBlendState getBlend()

The blending state for this target.

getFormat

Added in 1.0.0-alpha04
public final int getFormat()

The texture format of the color target.

getWriteMask

Added in 1.0.0-alpha04
public final int getWriteMask()

setBlend

Added in 1.0.0-alpha04
public final void setBlend(GPUBlendState blend)

The blending state for this target.

setFormat

Added in 1.0.0-alpha04
public final void setFormat(int format)

The texture format of the color target.

setWriteMask

Added in 1.0.0-alpha04
public final void setWriteMask(int writeMask)