_D3D_SHADER_VARIABLE_CLASS Enumeration

Values that identify the class of a shader variable.

Syntax

typedef enum _D3D_SHADER_VARIABLE_CLASS {
  D3D_SVC_SCALAR               ,
  D3D_SVC_VECTOR               ,
  D3D_SVC_MATRIX_ROWS          ,
  D3D_SVC_MATRIX_COLUMNS       ,
  D3D_SVC_OBJECT               ,
  D3D_SVC_STRUCT               ,
  D3D_SVC_INTERFACE_CLASS      ,
  D3D_SVC_INTERFACE_POINTER    ,
  D3D10_SVC_SCALAR             ,
  D3D10_SVC_VECTOR             ,
  D3D10_SVC_MATRIX_ROWS        ,
  D3D10_SVC_MATRIX_COLUMNS     ,
  D3D10_SVC_OBJECT             ,
  D3D10_SVC_STRUCT             ,
  D3D11_SVC_INTERFACE_CLASS    ,
  D3D11_SVC_INTERFACE_POINTER  ,
  D3D_SVC_FORCE_DWORD
} D3D_SHADER_VARIABLE_CLASS;

Constants

D3D_SVC_SCALAR The shader variable is a scalar.
D3D_SVC_VECTOR The shader variable is a vector.
D3D_SVC_MATRIX_ROWS The shader variable is a row-major matrix.
D3D_SVC_MATRIX_COLUMNS The shader variable is a column-major matrix.
D3D_SVC_OBJECT The shader variable is an object.
D3D_SVC_STRUCT The shader variable is a structure.
D3D_SVC_INTERFACE_CLASS The shader variable is a class.
D3D_SVC_INTERFACE_POINTER The shader variable is an interface.
D3D10_SVC_SCALAR The shader variable is a scalar.
D3D10_SVC_VECTOR The shader variable is a vector.
D3D10_SVC_MATRIX_ROWS The shader variable is a row-major matrix.
D3D10_SVC_MATRIX_COLUMNS The shader variable is a column-major matrix.
D3D10_SVC_OBJECT The shader variable is an object.
D3D10_SVC_STRUCT The shader variable is a structure.
D3D11_SVC_INTERFACE_CLASS The shader variable is a class.
D3D11_SVC_INTERFACE_POINTER The shader variable is an interface.
D3D_SVC_FORCE_DWORD This value is not used by a programmer; it exists to force the enumeration to compile to 32 bits.

Remarks

The class of a shader variable is not a programming class; the class identifies the variable class such as scalar, vector, object, and so on. D3D_SHADER_VARIABLE_CLASS-typed values are specified in the Class member of the D3D11_SHADER_TYPE_DESC structure.

Requirements

   
Header d3dcommon.h

See Also

Common Version Enumerations