Public Attributes | List of all members
TConstantInfo Struct Reference

This structure is used to return information about variables/constants used in a shader program. More...

Public Attributes

TConstantClass ConstantClass
 The class of the constant.
 
TConstantType ConstantType
 The type of the constant.
 
DWORD dwNumElements
 The number of elements used by the variable/constant. For scalars this is always 1, for floating point arrays this is the size of the array.
 
DWORD dwSize
 Defines the size in bytes of this structure, used for future purposes.
 
char lpConstantName [256]
 The name of the variable/constant.
 

Detailed Description

This structure is used to return information about variables/constants used in a shader program.

Supported platforms:
Win32
Win64
Related Topics:
D3DGetShaderConstantInfo,
TConstantType,
TConstantClass

Member Data Documentation

ConstantClass

The class of the constant.

ConstantType

The type of the constant.

dwNumElements

The number of elements used by the variable/constant. For scalars this is always 1, for floating point arrays this is the size of the array.

dwSize

Defines the size in bytes of this structure, used for future purposes.

lpConstantName

The name of the variable/constant.