Table of Contents

Enum ShuffleControl2X4Use4

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

Shuffle control constants for "In 2 * 4-bit groups, 4 values are used" ("2 * 4-位组中, 使用4种值"的换位控制常数) .

public enum ShuffleControl2X4Use4 : byte

Fields

OO = 136

OO := (8 << 4) | 8 = 0x88 = 136 .

OW = 56

OW := (3 << 4) | 8 = 0x38 = 56 .

OX = 8

OX := (0 << 4) | 8 = 0x08 = 8 .

OY = 24

OY := (1 << 4) | 8 = 0x18 = 24 .

OZ = 40

OZ := (2 << 4) | 8 = 0x28 = 40 .

WO = 131

WO := (8 << 4) | 3 = 0x83 = 131 .

WW = 51

WW := (3 << 4) | 3 = 0x33 = 51 .

WX = 3

WX := (0 << 4) | 3 = 0x03 = 3 .

WY = 19

WY := (1 << 4) | 3 = 0x13 = 19 .

WZ = 35

WZ := (2 << 4) | 3 = 0x23 = 35 .

XO = 128

XO := (8 << 4) | 0 = 0x80 = 128 .

XW = 48

XW := (3 << 4) | 0 = 0x30 = 48 .

XX = 0

XX := (0 << 4) | 0 = 0x00 = 0 .

XY = 16

XY := (1 << 4) | 0 = 0x10 = 16 .

XZ = 32

XZ := (2 << 4) | 0 = 0x20 = 32 .

YO = 129

YO := (8 << 4) | 1 = 0x81 = 129 .

YW = 49

YW := (3 << 4) | 1 = 0x31 = 49 .

YX = 1

YX := (0 << 4) | 1 = 0x01 = 1 .

YY = 17

YY := (1 << 4) | 1 = 0x11 = 17 .

YZ = 33

YZ := (2 << 4) | 1 = 0x21 = 33 .

ZO = 130

ZO := (8 << 4) | 2 = 0x82 = 130 .

ZW = 50

ZW := (3 << 4) | 2 = 0x32 = 50 .

ZX = 2

ZX := (0 << 4) | 2 = 0x02 = 2 .

ZY = 18

ZY := (1 << 4) | 2 = 0x12 = 18 .

ZZ = 34

ZZ := (2 << 4) | 2 = 0x22 = 34 .

Remarks

Constant names are referenced to HLSL(High-level shader language)/GLSL(OpenGL Shading Language), using the Little-Endian mode.

See Also