D3D10_SHADER_VARIABLE_CLASS enumeration

These flags identify the shader-variable class.

Syntax


typedef enum D3D10_SHADER_VARIABLE_CLASS { 
  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,
  D3D10_SVC_FORCE_DWORD        = 0x7fffffff
} D3D10_SHADER_VARIABLE_CLASS, *LPD3D10_SHADER_VARIABLE_CLASS;

Constants

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.

D3D10_SVC_FORCE_DWORD

This value is not used by a programmer; it exists to force the enumeration to compile to 32 bits.

Remarks

These flags describe the class of a shader variable. This is not a programming class; the class identifies the variable class such as scalar, vector, object, and so on. The shader-variable class is used in a shader-variable-type description (see D3D10_SHADER_TYPE_DESC).

The D3D10_SHADER_VARIABLE_CLASS enumeration is type defined in the D3D10shader.h header file as a D3D_SHADER_VARIABLE_CLASS enumeration, which is fully defined in the D3DCommon.h header file.



typedef D3D_SHADER_VARIABLE_CLASS D3D10_SHADER_VARIABLE_CLASS;

Requirements

Header

D3D10Shader.h

See also

Shader Enumerations

 

 

Show: