D3D10_SHADER_DEBUG_SCOPETYPE enumeration (d3d10_1shader.h)

Scope types.

Syntax

typedef enum _D3D10_SHADER_DEBUG_SCOPETYPE {
  D3D10_SHADER_DEBUG_SCOPE_GLOBAL,
  D3D10_SHADER_DEBUG_SCOPE_BLOCK,
  D3D10_SHADER_DEBUG_SCOPE_FORLOOP,
  D3D10_SHADER_DEBUG_SCOPE_STRUCT,
  D3D10_SHADER_DEBUG_SCOPE_FUNC_PARAMS,
  D3D10_SHADER_DEBUG_SCOPE_STATEBLOCK,
  D3D10_SHADER_DEBUG_SCOPE_NAMESPACE,
  D3D10_SHADER_DEBUG_SCOPE_ANNOTATION,
  D3D10_SHADER_DEBUG_SCOPE_FORCE_DWORD = 0x7fffffff
} D3D10_SHADER_DEBUG_SCOPETYPE;

Constants

 
D3D10_SHADER_DEBUG_SCOPE_GLOBAL
Global scope.
D3D10_SHADER_DEBUG_SCOPE_BLOCK
Block scope.
D3D10_SHADER_DEBUG_SCOPE_FORLOOP
For loop scope.
D3D10_SHADER_DEBUG_SCOPE_STRUCT
Structure scope.
D3D10_SHADER_DEBUG_SCOPE_FUNC_PARAMS
Function parameter scope.
D3D10_SHADER_DEBUG_SCOPE_STATEBLOCK
State block scope.
D3D10_SHADER_DEBUG_SCOPE_NAMESPACE
Name space scope.
D3D10_SHADER_DEBUG_SCOPE_ANNOTATION
Annotation scope.
D3D10_SHADER_DEBUG_SCOPE_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.

Remarks

The D3D10_SHADER_DEBUG_SCOPETYPE enumeration is used to specify scope type in the D3D10_SHADER_DEBUG_SCOPE_INFO structure.

Requirements

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

See also

Shader Enumerations