ShadeStyleOutput

data class ShadeStyleOutput(val attachment: Int, val format: ColorFormat = ColorFormat.RGBa, val type: ColorType = ColorType.FLOAT32)(source)

Represents the output configuration for a shading style.

Constructors

Link copied to clipboard
constructor(attachment: Int, format: ColorFormat = ColorFormat.RGBa, type: ColorType = ColorType.FLOAT32)

Properties

Link copied to clipboard

The attachment index for the output.

Link copied to clipboard

The color format of the output, which determines how color components (e.g., red, green, blue, alpha) are represented. Defaults to ColorFormat.RGBa.

Link copied to clipboard

The color type of the output, which specifies the data type or encoding used for handling the colors. Defaults to ColorType.FLOAT32.