Concrete vertex buffer class for Cpu subvision and DirectX drawing.
More...
#include <cpuD3D11VertexBuffer.h>
Concrete vertex buffer class for Cpu subvision and DirectX drawing.
CpuD3D11VertexBuffer implements CpuVertexBufferInterface and D3D11VertexBufferInterface.
An instance of this buffer class can be passed to CpuComputeController.
Definition at line 47 of file cpuD3D11VertexBuffer.h.
bool allocate |
( |
ID3D11Device * |
device | ) |
|
|
protected |
Returns the address of CPU buffer.
ID3D11Buffer* BindD3D11Buffer |
( |
ID3D11DeviceContext * |
deviceContext | ) |
|
Returns the D3D11 buffer object.
Creator. Returns NULL if error.
int GetNumElements |
( |
| ) |
const |
Returns how many elements defined in this vertex buffer.
int GetNumVertices |
( |
| ) |
const |
Returns how many vertices allocated in this vertex buffer.
void UpdateData |
( |
const float * |
src, |
|
|
int |
startVertex, |
|
|
int |
numVertices, |
|
|
void * |
param |
|
) |
| |
This method is meant to be used in client code in order to provide coarse vertices data to Osd.
The documentation for this class was generated from the following file: