Classes | Public Member Functions | Private Attributes | Static Private Attributes | List of all members
gte::HLSLShaderType Class Reference

#include <GteHLSLShaderType.h>

Classes

struct  Description
 

Public Member Functions

HLSLShaderTypeGetChild (unsigned int i)
 
HLSLShaderType const & GetChild (unsigned int i) const
 
std::vector< HLSLShaderType > const & GetChildren () const
 
D3D_SHADER_VARIABLE_CLASS GetClass () const
 
std::string const & GetName () const
 
unsigned int GetNumChildren () const
 
unsigned int GetNumColumns () const
 
unsigned int GetNumElements () const
 
unsigned int GetNumRows () const
 
unsigned int GetOffset () const
 
D3D_SHADER_VARIABLE_TYPE GetType () const
 
std::string const & GetTypeName () const
 
 HLSLShaderType ()
 
void Print (std::ofstream &output, int indent) const
 
void SetDescription (D3D_SHADER_TYPE_DESC const &desc)
 
void SetName (std::string const &name)
 

Private Attributes

std::vector< HLSLShaderTypemChildren
 
Description mDesc
 
std::string mName
 

Static Private Attributes

static std::string const msVarClass []
 
static std::string const msVarType []
 

Detailed Description

Definition at line 17 of file GteHLSLShaderType.h.

Constructor & Destructor Documentation

HLSLShaderType::HLSLShaderType ( )

Definition at line 14 of file GteHLSLShaderType.cpp.

Member Function Documentation

HLSLShaderType & HLSLShaderType::GetChild ( unsigned int  i)

Definition at line 46 of file GteHLSLShaderType.cpp.

HLSLShaderType const & HLSLShaderType::GetChild ( unsigned int  i) const

Definition at line 52 of file GteHLSLShaderType.cpp.

std::vector< HLSLShaderType > const & HLSLShaderType::GetChildren ( ) const

Definition at line 103 of file GteHLSLShaderType.cpp.

D3D_SHADER_VARIABLE_CLASS HLSLShaderType::GetClass ( ) const

Definition at line 63 of file GteHLSLShaderType.cpp.

std::string const & HLSLShaderType::GetName ( ) const

Definition at line 58 of file GteHLSLShaderType.cpp.

unsigned int HLSLShaderType::GetNumChildren ( ) const

Definition at line 88 of file GteHLSLShaderType.cpp.

unsigned int HLSLShaderType::GetNumColumns ( ) const

Definition at line 78 of file GteHLSLShaderType.cpp.

unsigned int HLSLShaderType::GetNumElements ( ) const

Definition at line 83 of file GteHLSLShaderType.cpp.

unsigned int HLSLShaderType::GetNumRows ( ) const

Definition at line 73 of file GteHLSLShaderType.cpp.

unsigned int HLSLShaderType::GetOffset ( ) const

Definition at line 93 of file GteHLSLShaderType.cpp.

D3D_SHADER_VARIABLE_TYPE HLSLShaderType::GetType ( ) const

Definition at line 68 of file GteHLSLShaderType.cpp.

std::string const & HLSLShaderType::GetTypeName ( ) const

Definition at line 98 of file GteHLSLShaderType.cpp.

void HLSLShaderType::Print ( std::ofstream &  output,
int  indent 
) const

Definition at line 108 of file GteHLSLShaderType.cpp.

void HLSLShaderType::SetDescription ( D3D_SHADER_TYPE_DESC const &  desc)

Definition at line 20 of file GteHLSLShaderType.cpp.

void HLSLShaderType::SetName ( std::string const &  name)

Definition at line 41 of file GteHLSLShaderType.cpp.

Member Data Documentation

std::vector<HLSLShaderType> gte::HLSLShaderType::mChildren
private

Definition at line 66 of file GteHLSLShaderType.h.

Description gte::HLSLShaderType::mDesc
private

Definition at line 64 of file GteHLSLShaderType.h.

std::string gte::HLSLShaderType::mName
private

Definition at line 65 of file GteHLSLShaderType.h.

std::string const HLSLShaderType::msVarClass
staticprivate
Initial value:
=
{
"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"
}

Definition at line 69 of file GteHLSLShaderType.h.

std::string const HLSLShaderType::msVarType
staticprivate

Definition at line 70 of file GteHLSLShaderType.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06