28 #ifndef __D3D11VERTEXDECLARATION_H__
29 #define __D3D11VERTEXDECLARATION_H__
VertexBufferDeclaration mVertexBufferDeclaration
D3D11VertexDeclaration(D3D11Device &device)
ID3D11InputLayout * getILayoutByShader(D3D11HLSLProgram *boundVertexProgram)
Gets the D3D11-specific vertex declaration.
void bindToShader(D3D11HLSLProgram *boundVertexProgram)
const VertexElement & insertElement(unsigned short atPosition, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
D3D11Device & mlpD3DDevice
VertexElementSemantic
Vertex element semantics, used to identify the meaning of vertex buffer contents. ...
D3D11_INPUT_ELEMENT_DESC * mD3delems
void removeAllElements(void)
See VertexDeclaration.
D3D11_INPUT_ELEMENT_DESC * getD3DVertexDeclaration(void)
map< D3D11HLSLProgram *, ID3D11InputLayout * >::type ShaderToILayoutMap
This class declares the usage of a single vertex buffer as a component of a complete VertexDeclaratio...
ShaderToILayoutMap mShaderToILayoutMap
VertexElementType
Vertex element type, used to identify the base types of the vertex contents.
void modifyElement(unsigned short elem_index, unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
void removeElement(unsigned short elem_index)
See VertexDeclaration.
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
~D3D11VertexDeclaration()
ShaderToILayoutMap::iterator ShaderToILayoutMapIterator
Specialisation of VertexDeclaration for D3D11.
const VertexElement & addElement(unsigned short source, size_t offset, VertexElementType theType, VertexElementSemantic semantic, unsigned short index=0)
See VertexDeclaration.
const VertexBufferDeclaration & getVertexBufferDeclaration()
Specialization of HighLevelGpuProgram to provide support for D3D11 High-Level Shader Language (HLSL)...