Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
gte::HLSLBaseBuffer Class Reference

#include <GteHLSLBaseBuffer.h>

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

Public Types

typedef std::pair< HLSLShaderVariable, HLSLShaderTypeMember
 

Public Member Functions

void GenerateLayout (std::vector< MemberLayout > &layout) const
 
std::vector< Member > const & GetMembers () const
 
 HLSLBaseBuffer (D3D_SHADER_INPUT_BIND_DESC const &desc, unsigned int numBytes, std::vector< Member > const &members)
 
 HLSLBaseBuffer (D3D_SHADER_INPUT_BIND_DESC const &desc, unsigned int index, unsigned int numBytes, std::vector< Member > const &members)
 
virtual void Print (std::ofstream &output) const
 
virtual ~HLSLBaseBuffer ()
 
- Public Member Functions inherited from gte::HLSLResource
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 ~HLSLResource ()
 

Private Member Functions

void GenerateLayout (HLSLShaderType const &type, unsigned int parentOffset, std::string const &parentName, std::vector< MemberLayout > &layout) const
 

Private Attributes

std::vector< MembermMembers
 

Additional Inherited Members

- Protected Member Functions inherited from gte::HLSLResource
 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)
 

Detailed Description

Definition at line 19 of file GteHLSLBaseBuffer.h.

Member Typedef Documentation

Definition at line 22 of file GteHLSLBaseBuffer.h.

Constructor & Destructor Documentation

HLSLBaseBuffer::~HLSLBaseBuffer ( )
virtual

Definition at line 13 of file GteHLSLBaseBuffer.cpp.

HLSLBaseBuffer::HLSLBaseBuffer ( D3D_SHADER_INPUT_BIND_DESC const &  desc,
unsigned int  numBytes,
std::vector< Member > const &  members 
)

Definition at line 17 of file GteHLSLBaseBuffer.cpp.

HLSLBaseBuffer::HLSLBaseBuffer ( D3D_SHADER_INPUT_BIND_DESC const &  desc,
unsigned int  index,
unsigned int  numBytes,
std::vector< Member > const &  members 
)

Definition at line 25 of file GteHLSLBaseBuffer.cpp.

Member Function Documentation

void HLSLBaseBuffer::GenerateLayout ( std::vector< MemberLayout > &  layout) const

Definition at line 52 of file GteHLSLBaseBuffer.cpp.

void HLSLBaseBuffer::GenerateLayout ( HLSLShaderType const &  type,
unsigned int  parentOffset,
std::string const &  parentName,
std::vector< MemberLayout > &  layout 
) const
private

Definition at line 62 of file GteHLSLBaseBuffer.cpp.

std::vector< HLSLBaseBuffer::Member > const & HLSLBaseBuffer::GetMembers ( ) const

Definition at line 34 of file GteHLSLBaseBuffer.cpp.

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

Reimplemented from gte::HLSLResource.

Definition at line 39 of file GteHLSLBaseBuffer.cpp.

Member Data Documentation

std::vector<Member> gte::HLSLBaseBuffer::mMembers
private

Definition at line 48 of file GteHLSLBaseBuffer.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