GPUColorTargetState


class GPUColorTargetState


Describes the state of a single color target in a render pipeline.

Summary

Public constructors

GPUColorTargetState(format: Int, blend: GPUBlendState?, writeMask: Int)

Public properties

GPUBlendState?

The blending state for this target.

Int

The texture format of the color target.

Int

Public constructors

GPUColorTargetState

Added in 1.0.0-alpha04
GPUColorTargetState(
    format: Int = TextureFormat.Undefined,
    blend: GPUBlendState? = null,
    writeMask: Int = ColorWriteMask.All
)

Public properties

blend

Added in 1.0.0-alpha04
var blendGPUBlendState?

The blending state for this target.

format

Added in 1.0.0-alpha04
var formatInt

The texture format of the color target.

writeMask

Added in 1.0.0-alpha04
var writeMaskInt