TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Public Attributes | List of all members
sShaderConstantsDesc::sConstant Struct Reference

Public Member Functions

 sConstant ()
 
 sConstant (iHString *ahspName, eShaderRegisterType aType, tU32 anSize, tU32 anDataIndex)
 
 sConstant (const sConstant &c)
 

Public Attributes

tHStringPtr hspName
 The constant's name, as extracted from the shader. More...
 
tHStringPtr hspMetadata
 The constant's metadata. More...
 
tU32 nSize
 The constant's size, each register has four components. More...
 
tU32 nDataIndex
 Index in the default data, float used mvFloatRegisters, int and bools uses mvIntRegisters. More...
 
tU32 nHwIndex
 Index of the constant to be set on the device. More...
 
tU32 Type
 The constant's type. More...
 

Constructor & Destructor Documentation

sConstant ( )
explicit
sConstant ( iHString ahspName,
eShaderRegisterType  aType,
tU32  anSize,
tU32  anDataIndex 
)
explicit
sConstant ( const sConstant c)

Member Data Documentation

tHStringPtr hspName

The constant's name, as extracted from the shader.

tHStringPtr hspMetadata

The constant's metadata.

tU32 nSize

The constant's size, each register has four components.

tU32 nDataIndex

Index in the default data, float used mvFloatRegisters, int and bools uses mvIntRegisters.

tU32 nHwIndex

Index of the constant to be set on the device.

tU32 Type

The constant's type.