TSdlGpuColorTargetBlendState
A record specifying the blend state of a color target.
Definition
Unit: Neslib.Sdl3.Gpu
See Also
Properties
Name | Description |
---|---|
AlphaBlendOp | The blend operation for the alpha component. |
BlendEnabled | Whether blending is enabled for the color target. |
ColorBlendOp | The blend operation for the RGB components. |
ColorWriteMask | A bitmask specifying which of the RGBA components are enabled for writing. Writes to all channels if enable_color_write_mask is false. |
ColorWriteMaskEnabled | Whether the color write mask is enabled. |
DstAlphaBlendFctor | The value to be multiplied by the destination alpha. |
DstColorBlendFactor | The value to be multiplied by the destination RGB value. |
SrcAlphaBlendFactor | The value to be multiplied by the source alpha. |
SrcColorBlendFactor | The value to be multiplied by the source RGB value. |
Property Descriptions
AlphaBlendOp
The blend operation for the alpha component.
property AlphaBlendOp: TSdlGpuBlendOp read GetAlphaBlendOp write SetAlphaBlendOp
Type: TSdlGpuBlendOp
BlendEnabled
Whether blending is enabled for the color target.
property BlendEnabled: Boolean read FHandle.enable_blend write FHandle.enable_blend
Type: Boolean
ColorBlendOp
The blend operation for the RGB components.
property ColorBlendOp: TSdlGpuBlendOp read GetColorBlendOp write SetColorBlendOp
Type: TSdlGpuBlendOp
ColorWriteMask
A bitmask specifying which of the RGBA components are enabled for writing. Writes to all channels if enable_color_write_mask is false.
property ColorWriteMask: TSdlGpuColorComponentFlags read GetColorWriteMask write SetColorWriteMask
Type: TSdlGpuColorComponentFlags
ColorWriteMaskEnabled
Whether the color write mask is enabled.
property ColorWriteMaskEnabled: Boolean read FHandle.enable_color_write_mask write FHandle.enable_color_write_mask
Type: Boolean
DstAlphaBlendFctor
The value to be multiplied by the destination alpha.
property DstAlphaBlendFctor: TSdlGpuBlendFactor read GetDstAlphaBlendFctor write SetDstAlphaBlendFctor
Type: TSdlGpuBlendFactor
DstColorBlendFactor
The value to be multiplied by the destination RGB value.
property DstColorBlendFactor: TSdlGpuBlendFactor read GetDstColorBlendFactor write SetDstColorBlendFactor
Type: TSdlGpuBlendFactor
SrcAlphaBlendFactor
The value to be multiplied by the source alpha.
property SrcAlphaBlendFactor: TSdlGpuBlendFactor read GetSrcAlphaBlendFactor write SetSrcAlphaBlendFactor
Type: TSdlGpuBlendFactor
SrcColorBlendFactor
The value to be multiplied by the source RGB value.
property SrcColorBlendFactor: TSdlGpuBlendFactor read GetSrcColorBlendFactor write SetSrcColorBlendFactor
Type: TSdlGpuBlendFactor