Concrete vertex buffer class for Cuda subvision.
More...
#include <cudaVertexBuffer.h>
Concrete vertex buffer class for Cuda subvision.
CudaVertexBuffer implements CudaVertexBufferInterface. An instance of this buffer class can be passed to CudaComputeController
Definition at line 40 of file cudaVertexBuffer.h.
Allocates Cuda memory for this buffer. Returns true if success.
float* BindCudaBuffer |
( |
| ) |
|
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 |
|
) |
| |
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: