Bullet Collision Detection & Physics Library
|
#include <btSoftBodySolverVertexBuffer_DX11.h>
Public Member Functions | |
btDX11VertexBufferDescriptor (ID3D11DeviceContext *context, ID3D11Buffer *buffer, ID3D11UnorderedAccessView *UAV, int vertexOffset, int vertexStride) | |
buffer is a pointer to the DX11 buffer to place the vertex data in. More... | |
btDX11VertexBufferDescriptor (ID3D11DeviceContext *context, ID3D11Buffer *buffer, ID3D11UnorderedAccessView *UAV, int vertexOffset, int vertexStride, int normalOffset, int normalStride) | |
buffer is a pointer to the DX11 buffer to place the vertex data in. More... | |
virtual | ~btDX11VertexBufferDescriptor () |
virtual BufferTypes | getBufferType () const |
Return the type of the vertex buffer descriptor. More... | |
virtual ID3D11DeviceContext * | getContext () const |
virtual ID3D11Buffer * | getbtDX11Buffer () const |
virtual ID3D11UnorderedAccessView * | getDX11UAV () const |
Public Member Functions inherited from btVertexBufferDescriptor | |
btVertexBufferDescriptor () | |
virtual | ~btVertexBufferDescriptor () |
virtual bool | hasVertexPositions () const |
virtual bool | hasNormals () const |
virtual int | getVertexOffset () const |
Return the vertex offset in floats from the base pointer. More... | |
virtual int | getVertexStride () const |
Return the vertex stride in number of floats between vertices. More... | |
virtual int | getNormalOffset () const |
Return the vertex offset in floats from the base pointer. More... | |
virtual int | getNormalStride () const |
Return the vertex stride in number of floats between vertices. More... | |
Protected Attributes | |
ID3D11DeviceContext * | m_context |
Context of the DX11 device on which the vertex buffer is stored. More... | |
ID3D11Buffer * | m_vertexBuffer |
DX11 vertex buffer. More... | |
ID3D11UnorderedAccessView * | m_vertexBufferUAV |
UAV for DX11 buffer. More... | |
Protected Attributes inherited from btVertexBufferDescriptor | |
bool | m_hasVertexPositions |
bool | m_hasNormals |
int | m_vertexOffset |
int | m_vertexStride |
int | m_normalOffset |
int | m_normalStride |
Additional Inherited Members | |
Public Types inherited from btVertexBufferDescriptor | |
enum | BufferTypes { CPU_BUFFER, DX11_BUFFER, OPENGL_BUFFER } |
Definition at line 28 of file btSoftBodySolverVertexBuffer_DX11.h.
|
inline |
buffer is a pointer to the DX11 buffer to place the vertex data in.
UAV is a pointer to the UAV representation of the buffer laid out in floats. vertexOffset is the offset in floats to the first vertex. vertexStride is the stride in floats between vertices.
Definition at line 46 of file btSoftBodySolverVertexBuffer_DX11.h.
|
inline |
buffer is a pointer to the DX11 buffer to place the vertex data in.
UAV is a pointer to the UAV representation of the buffer laid out in floats. vertexOffset is the offset in floats to the first vertex. vertexStride is the stride in floats between vertices. normalOffset is the offset in floats to the first normal. normalStride is the stride in floats between normals.
Definition at line 64 of file btSoftBodySolverVertexBuffer_DX11.h.
|
inlinevirtual |
Definition at line 78 of file btSoftBodySolverVertexBuffer_DX11.h.
|
inlinevirtual |
Definition at line 96 of file btSoftBodySolverVertexBuffer_DX11.h.
|
inlinevirtual |
Return the type of the vertex buffer descriptor.
Implements btVertexBufferDescriptor.
Definition at line 86 of file btSoftBodySolverVertexBuffer_DX11.h.
|
inlinevirtual |
Definition at line 91 of file btSoftBodySolverVertexBuffer_DX11.h.
|
inlinevirtual |
Definition at line 101 of file btSoftBodySolverVertexBuffer_DX11.h.
|
protected |
Context of the DX11 device on which the vertex buffer is stored.
Definition at line 32 of file btSoftBodySolverVertexBuffer_DX11.h.
|
protected |
DX11 vertex buffer.
Definition at line 34 of file btSoftBodySolverVertexBuffer_DX11.h.
|
protected |
UAV for DX11 buffer.
Definition at line 36 of file btSoftBodySolverVertexBuffer_DX11.h.