Show / Hide Table of Contents

Enum BlendFactor

Controls the influence of components in a blend operation.

Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public enum BlendFactor : byte

Fields

Name Description
BlendFactor

Each component is multiplied by the matching component in constant factor specified in BlendFactor.

DestinationAlpha

Each component is multiplied by the destination alpha component.

DestinationColor

Each component is multiplied by the matching component of the destination color.

InverseBlendFactor

Each component is multiplied by (1 - the matching component in constant factor specified in BlendFactor).

InverseDestinationAlpha

Each component is multiplied by (1 - destination alpha).

InverseDestinationColor

Each component is multiplied by (1 - the matching component of the destination color).

InverseSourceAlpha

Each component is multiplied by (1 - source alpha).

InverseSourceColor

Each component is multiplied by (1 - the matching component of the source color).

One

Each component is multiplied by 1.

SourceAlpha

Each component is multiplied by the source alpha component.

SourceColor

Each component is multiplied by the matching component of the source color.

Zero

Each component is multiplied by 0.

Back to top