ColorTargetState


class ColorTargetState


Defines the configuration for a single color attachment in a render pipeline.

Summary

Public constructors

ColorTargetState(format: Int, blend: BlendState?, writeMask: Int)

Public properties

BlendState?

The blend state to apply, if blending is enabled.

Int

The texture format of the color attachment.

Int

Public constructors

ColorTargetState

Added in 1.0.0-alpha01
ColorTargetState(
    format: Int = TextureFormat.Undefined,
    blend: BlendState? = null,
    writeMask: Int = ColorWriteMask.All
)

Public properties

blend

Added in 1.0.0-alpha01
var blendBlendState?

The blend state to apply, if blending is enabled.

format

Added in 1.0.0-alpha01
var formatInt

The texture format of the color attachment.

writeMask

Added in 1.0.0-alpha01
var writeMaskInt