Table of Contents

Enum GlobalInitializerKind

Namespace
ShadowDusk.HLSL
Assembly
ShadowDusk.HLSL.dll

The scalar kind an HLSL numeric declaration is made of.

public enum GlobalInitializerKind

Fields

Bool = 3

bool: a 32-bit word, true when non-zero (written as 0xFFFFFFFF).

Float = 0

float, half, min16float ... (vectors and matrices of them too).

Int = 1

int, min16int ...: a two's-complement 32-bit word.

UInt = 2

uint, dword, min16uint ...: an unsigned 32-bit word.