Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Ogre::D3D11HLSLProgram::GpuConstantDefinitionWithName Struct Reference

#include <OgreD3D11HLSLProgram.h>

Inheritance diagram for Ogre::D3D11HLSLProgram::GpuConstantDefinitionWithName:
Inheritance graph
[legend]

Public Member Functions

bool isDouble () const
 
bool isFloat () const
 
bool isSampler () const
 
bool isSubroutine () const
 

Static Public Member Functions

static size_t getElementSize (GpuConstantType ctype, bool padToMultiplesOf4)
 Get the element size of a given type, including whether to pad the elements into multiples of 4 (e.g. More...
 
static bool isDouble (GpuConstantType c)
 
static bool isFloat (GpuConstantType c)
 
static bool isSampler (GpuConstantType c)
 
static bool isSubroutine (GpuConstantType c)
 

Public Attributes

size_t arraySize
 Length of array. More...
 
GpuConstantType constType
 Data type. More...
 
size_t elementSize
 Number of raw buffer slots per element (some programs pack each array element to float4, some do not) More...
 
size_t logicalIndex
 Logical index - used to communicate this constant to the rendersystem. More...
 
LPCSTR Name
 
size_t physicalIndex
 Physical start index in buffer (either float, double or int buffer) More...
 
uint16 variability
 How this parameter varies (bitwise combination of GpuProgramVariability) More...
 

Detailed Description

Definition at line 248 of file OgreD3D11HLSLProgram.h.

Member Function Documentation

static size_t Ogre::GpuConstantDefinition::getElementSize ( GpuConstantType  ctype,
bool  padToMultiplesOf4 
)
staticinherited
bool Ogre::GpuConstantDefinition::isDouble ( ) const
inherited

Definition at line 165 of file OgreGpuProgramParams.h.

static bool Ogre::GpuConstantDefinition::isDouble ( GpuConstantType  c)
staticinherited
bool Ogre::GpuConstantDefinition::isFloat ( ) const
inherited

Definition at line 138 of file OgreGpuProgramParams.h.

static bool Ogre::GpuConstantDefinition::isFloat ( GpuConstantType  c)
staticinherited
bool Ogre::GpuConstantDefinition::isSampler ( ) const
inherited

Definition at line 196 of file OgreGpuProgramParams.h.

static bool Ogre::GpuConstantDefinition::isSampler ( GpuConstantType  c)
staticinherited
bool Ogre::GpuConstantDefinition::isSubroutine ( ) const
inherited

Definition at line 219 of file OgreGpuProgramParams.h.

static bool Ogre::GpuConstantDefinition::isSubroutine ( GpuConstantType  c)
staticinherited

Definition at line 224 of file OgreGpuProgramParams.h.

References Ogre::GCT_SUBROUTINE.

Member Data Documentation

size_t Ogre::GpuConstantDefinition::arraySize
inherited

Length of array.

Definition at line 134 of file OgreGpuProgramParams.h.

GpuConstantType Ogre::GpuConstantDefinition::constType
inherited

Data type.

Definition at line 125 of file OgreGpuProgramParams.h.

size_t Ogre::GpuConstantDefinition::elementSize
inherited

Number of raw buffer slots per element (some programs pack each array element to float4, some do not)

Definition at line 132 of file OgreGpuProgramParams.h.

size_t Ogre::GpuConstantDefinition::logicalIndex
inherited

Logical index - used to communicate this constant to the rendersystem.

Definition at line 129 of file OgreGpuProgramParams.h.

LPCSTR Ogre::D3D11HLSLProgram::GpuConstantDefinitionWithName::Name

Definition at line 250 of file OgreD3D11HLSLProgram.h.

size_t Ogre::GpuConstantDefinition::physicalIndex
inherited

Physical start index in buffer (either float, double or int buffer)

Definition at line 127 of file OgreGpuProgramParams.h.

uint16 Ogre::GpuConstantDefinition::variability
mutableinherited

How this parameter varies (bitwise combination of GpuProgramVariability)

Definition at line 136 of file OgreGpuProgramParams.h.


The documentation for this struct was generated from the following file:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Mar 18 2014 19:15:31