Ctrl+K

BlendFactor

Declaration

public sealed enum Strawberry.Graphics.BlendFactor

Specifies the blend factor used in blending operations, determining how source and destination colors are weighted.

Members

Name Value Description
SrcAlpha 0 Uses the source alpha value as the blend factor.
InvSrcAlpha 1 Uses one minus the source alpha value as the blend factor.
SrcColor 2 Uses the source color value as the blend factor.
InvSrcColor 3 Uses one minus the source color value as the blend factor.
Zero 4 Uses zero (0) as the blend factor, effectively removing the contribution.
One 5 Uses one (1) as the blend factor, leaving the contribution unchanged.

Fields

SrcAlpha static

Uses the source alpha value as the blend factor.

BlendFactor SrcAlpha = 0

InvSrcAlpha static

Uses one minus the source alpha value as the blend factor.

BlendFactor InvSrcAlpha = 1

SrcColor static

Uses the source color value as the blend factor.

BlendFactor SrcColor = 2

InvSrcColor static

Uses one minus the source color value as the blend factor.

BlendFactor InvSrcColor = 3

Zero static

Uses zero (0) as the blend factor, effectively removing the contribution.

BlendFactor Zero = 4

One static

Uses one (1) as the blend factor, leaving the contribution unchanged.

BlendFactor One = 5