#include <GteHLSLBaseBuffer.h>
Public Types | |
typedef std::pair< HLSLShaderVariable, HLSLShaderType > | Member |
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< Member > | mMembers |
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) | |
Definition at line 19 of file GteHLSLBaseBuffer.h.
typedef std::pair<HLSLShaderVariable, HLSLShaderType> gte::HLSLBaseBuffer::Member |
Definition at line 22 of file GteHLSLBaseBuffer.h.
|
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.
void HLSLBaseBuffer::GenerateLayout | ( | std::vector< MemberLayout > & | layout | ) | const |
Definition at line 52 of file GteHLSLBaseBuffer.cpp.
|
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.
|
virtual |
Reimplemented from gte::HLSLResource.
Definition at line 39 of file GteHLSLBaseBuffer.cpp.
|
private |
Definition at line 48 of file GteHLSLBaseBuffer.h.