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

#include <GteDX11InputLayout.h>

Public Member Functions

void Disable (ID3D11DeviceContext *context)
 
 DX11InputLayout (ID3D11Device *device, VertexBuffer const *vbuffer, Shader const *vshader)
 
void Enable (ID3D11DeviceContext *context)
 
std::string const & GetName () const
 
HRESULT SetName (std::string const &name)
 
 ~DX11InputLayout ()
 

Private Attributes

D3D11_INPUT_ELEMENT_DESC mElements [VA_MAX_ATTRIBUTES]
 
ID3D11InputLayout * mLayout
 
std::string mName
 
int mNumElements
 

Static Private Attributes

static char const * msSemantic [VA_NUM_SEMANTICS]
 

Detailed Description

Definition at line 17 of file GteDX11InputLayout.h.

Constructor & Destructor Documentation

DX11InputLayout::~DX11InputLayout ( )

Definition at line 12 of file GteDX11InputLayout.cpp.

DX11InputLayout::DX11InputLayout ( ID3D11Device *  device,
VertexBuffer const *  vbuffer,
Shader const *  vshader 
)

Definition at line 17 of file GteDX11InputLayout.cpp.

Member Function Documentation

void DX11InputLayout::Disable ( ID3D11DeviceContext *  context)

Definition at line 65 of file GteDX11InputLayout.cpp.

void DX11InputLayout::Enable ( ID3D11DeviceContext *  context)

Definition at line 57 of file GteDX11InputLayout.cpp.

std::string const & gte::DX11InputLayout::GetName ( ) const
inline

Definition at line 44 of file GteDX11InputLayout.h.

HRESULT DX11InputLayout::SetName ( std::string const &  name)

Definition at line 74 of file GteDX11InputLayout.cpp.

Member Data Documentation

D3D11_INPUT_ELEMENT_DESC gte::DX11InputLayout::mElements[VA_MAX_ATTRIBUTES]
private

Definition at line 37 of file GteDX11InputLayout.h.

ID3D11InputLayout* gte::DX11InputLayout::mLayout
private

Definition at line 35 of file GteDX11InputLayout.h.

std::string gte::DX11InputLayout::mName
private

Definition at line 38 of file GteDX11InputLayout.h.

int gte::DX11InputLayout::mNumElements
private

Definition at line 36 of file GteDX11InputLayout.h.

char const * DX11InputLayout::msSemantic
staticprivate
Initial value:
=
{
"",
"POSITION",
"BLENDWEIGHT",
"BLENDINDICES",
"NORMAL",
"PSIZE",
"TEXCOORD",
"TANGENT",
"BINORMAL",
"TESSFACTOR",
"POSITIONT",
"COLOR",
"FOG",
"DEPTH",
"SAMPLE"
}

Definition at line 41 of file GteDX11InputLayout.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:05