Table of Contents

Enum ColorChannel

Namespace
Stride.Rendering.Materials
Assembly
Stride.Rendering.dll

A RGBA channel selected when performing texture sampling.

[DataContract("ColorChannel")]
public enum ColorChannel

Fields

A = 3

The sampled color is returned as a float4(A, A, A, A)

B = 2

The sampled color is returned as a float4(B, B, B, B)

G = 1

The sampled color is returned as a float4(G, G, G, G)

R = 0

The sampled color is returned as a float4(R, R, R, R)