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

#include <GteHLSLResource.h>

Inheritance diagram for gte::HLSLResource:
Inheritance graph
[legend]

Classes

struct  Description
 

Public Member Functions

unsigned int GetBindCount () const
 
unsigned int GetBindPoint () const
 
D3D_SRV_DIMENSION GetDimension () const
 
unsigned int GetFlags () const
 
std::string const & GetName () const
 
unsigned int GetNumBytes () const
 
unsigned int GetNumSamples () const
 
D3D_RESOURCE_RETURN_TYPE GetReturnType () const
 
D3D_SHADER_INPUT_TYPE GetType () const
 
virtual void Print (std::ofstream &output) const
 
virtual ~HLSLResource ()
 

Protected Member Functions

 HLSLResource (D3D_SHADER_INPUT_BIND_DESC const &desc, unsigned int numBytes)
 
 HLSLResource (D3D_SHADER_INPUT_BIND_DESC const &desc, unsigned int index, unsigned int numBytes)
 

Private Attributes

Description mDesc
 
unsigned int mNumBytes
 

Static Private Attributes

static std::string const msReturnType []
 
static std::string const msSIType []
 
static std::string const msSRVDimension []
 

Detailed Description

Definition at line 53 of file GteHLSLResource.h.

Constructor & Destructor Documentation

HLSLResource::~HLSLResource ( )
virtual

Definition at line 13 of file GteHLSLResource.cpp.

HLSLResource::HLSLResource ( D3D_SHADER_INPUT_BIND_DESC const &  desc,
unsigned int  numBytes 
)
protected

Definition at line 17 of file GteHLSLResource.cpp.

HLSLResource::HLSLResource ( D3D_SHADER_INPUT_BIND_DESC const &  desc,
unsigned int  index,
unsigned int  numBytes 
)
protected

Definition at line 32 of file GteHLSLResource.cpp.

Member Function Documentation

unsigned int HLSLResource::GetBindCount ( ) const

Definition at line 62 of file GteHLSLResource.cpp.

unsigned int HLSLResource::GetBindPoint ( ) const

Definition at line 57 of file GteHLSLResource.cpp.

D3D_SRV_DIMENSION HLSLResource::GetDimension ( ) const

Definition at line 77 of file GteHLSLResource.cpp.

unsigned int HLSLResource::GetFlags ( ) const

Definition at line 67 of file GteHLSLResource.cpp.

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

Definition at line 47 of file GteHLSLResource.cpp.

unsigned int HLSLResource::GetNumBytes ( ) const

Definition at line 87 of file GteHLSLResource.cpp.

unsigned int HLSLResource::GetNumSamples ( ) const

Definition at line 82 of file GteHLSLResource.cpp.

D3D_RESOURCE_RETURN_TYPE HLSLResource::GetReturnType ( ) const

Definition at line 72 of file GteHLSLResource.cpp.

D3D_SHADER_INPUT_TYPE HLSLResource::GetType ( ) const

Definition at line 52 of file GteHLSLResource.cpp.

void HLSLResource::Print ( std::ofstream &  output) const
virtual

Reimplemented in gte::HLSLBaseBuffer.

Definition at line 92 of file GteHLSLResource.cpp.

Member Data Documentation

Description gte::HLSLResource::mDesc
private

Definition at line 93 of file GteHLSLResource.h.

unsigned int gte::HLSLResource::mNumBytes
private

Definition at line 94 of file GteHLSLResource.h.

std::string const HLSLResource::msReturnType
staticprivate
Initial value:
=
{
"none",
"D3D_RETURN_TYPE_UNORM",
"D3D_RETURN_TYPE_SNORM",
"D3D_RETURN_TYPE_SINT",
"D3D_RETURN_TYPE_UINT",
"D3D_RETURN_TYPE_FLOAT",
"D3D_RETURN_TYPE_MIXED",
"D3D_RETURN_TYPE_DOUBLE",
"D3D_RETURN_TYPE_CONTINUED"
}

Definition at line 98 of file GteHLSLResource.h.

std::string const HLSLResource::msSIType
staticprivate
Initial value:
{
"D3D_SIT_CBUFFER",
"D3D_SIT_TBUFFER",
"D3D_SIT_TEXTURE",
"D3D_SIT_SAMPLER",
"D3D_SIT_UAV_RWTYPED",
"D3D_SIT_STRUCTURED",
"D3D_SIT_UAV_RWSTRUCTURED",
"D3D_SIT_BYTEADDRESS",
"D3D_SIT_UAV_RWBYTEADDRESS",
"D3D_SIT_UAV_APPEND_STRUCTURED",
"D3D_SIT_UAV_CONSUME_STRUCTURED",
"D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER"
}

Definition at line 97 of file GteHLSLResource.h.

std::string const HLSLResource::msSRVDimension
staticprivate
Initial value:
=
{
"D3D_SRV_DIMENSION_UNKNOWN",
"D3D_SRV_DIMENSION_BUFFER",
"D3D_SRV_DIMENSION_TEXTURE1D",
"D3D_SRV_DIMENSION_TEXTURE1DARRAY",
"D3D_SRV_DIMENSION_TEXTURE2D",
"D3D_SRV_DIMENSION_TEXTURE2DARRAY",
"D3D_SRV_DIMENSION_TEXTURE2DMS",
"D3D_SRV_DIMENSION_TEXTURE2DMSARRAY",
"D3D_SRV_DIMENSION_TEXTURE3D",
"D3D_SRV_DIMENSION_TEXTURECUBE",
"D3D_SRV_DIMENSION_TEXTURECUBEARRAY",
"D3D_SRV_DIMENSION_BUFFEREX"
}

Definition at line 99 of file GteHLSLResource.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