D3D10_SHADER_DEBUG_VARTYPE enumeration (d3d10_1shader.h)

Distinguishes variables from functions in a scope.

Syntax

typedef enum _D3D10_SHADER_DEBUG_VARTYPE {
  D3D10_SHADER_DEBUG_VAR_VARIABLE,
  D3D10_SHADER_DEBUG_VAR_FUNCTION,
  D3D10_SHADER_DEBUG_VAR_FORCE_DWORD = 0x7fffffff
} D3D10_SHADER_DEBUG_VARTYPE;

Constants

 
D3D10_SHADER_DEBUG_VAR_VARIABLE
Element is a variable.
D3D10_SHADER_DEBUG_VAR_FUNCTION
Element is a function.
D3D10_SHADER_DEBUG_VAR_FORCE_DWORD
Value: 0x7fffffff
Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. This value is not used.

Requirements

Requirement Value
Header d3d10_1shader.h (include D3D10Shader.h)

See also

Shader Structures