Table of Contents

Enum SwizzleMode

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Specify how to swizzle a vector.

public enum SwizzleMode

Fields

[Display("Default", null)] None = 0

Take the vector as is.

[Display("Normal map", null)] NormalMap = 2

Reconstructs the Z(B) component from R and G.

[Display("Grayscale (opaque)", null)] RRR1 = 3

Take the only the red component of the vector, but keeps the object opaque

[Display("Grayscale (alpha)", null)] RRRR = 1

Take the only the red component of the vector.

[Display("Grayscale (alpha)", null)] XXXX = 1

Take the only the x component of the vector.