List of all members.
Constructor & Destructor Documentation
Member Function Documentation
template<class T>
void CudaArray< T >::Copy |
( |
bool |
tohost, |
|
|
unsigned int |
start, |
|
|
unsigned int |
count, |
|
|
bool |
use_write_buffer = false |
|
) |
| |
|
inline |
Copy
- Parameters:
-
tohost | ... true of from device to host should copy |
start | ... startindex of memory |
count | ... number of components to copy |
use_write_buffer | ... copy to write buffer |
template<class T>
void CudaArray< T >::CreateBuffer |
( |
size_t |
size, |
|
|
bool |
vbo = false , |
|
|
bool |
pingpong = false |
|
) |
| |
|
inline |
This method creates the Buffers (VBO, Arrays,...)
- Parameters:
-
size | size of objects |
vbo | use VBOs |
pingpong | Pingpong Buffers |
template<class T>
GLuint CudaArray< T >::CreateVBO |
( |
size_t |
size | ) |
|
|
inline |
template<class T>
void CudaArray< T >::Debug |
( |
unsigned int |
start, |
|
|
unsigned int |
count |
|
) |
| |
|
inline |
Output device memory
- Parameters:
-
start | ... startindex of memory |
count | ... number of components to copy |
Returns Device Array for Reading
- Returns:
- Device Array Referenence
template<class T>
unsigned int CudaArray< T >::GetDevReadVBO |
( |
| ) |
|
|
inline |
Returns VBO Array for Reading
- Returns:
- Device Array Referenence
Returns Device Array for Writing
- Returns:
- Device Array Referenence
template<class T>
unsigned int CudaArray< T >::GetDevWriteVBO |
( |
| ) |
|
|
inline |
Returns VBO Array for Writing
- Returns:
- Device Array Referenence
Returns Host Array
- Returns:
- Host Array
template<class T>
void CudaArray< T >::SetVBO |
( |
unsigned int |
id1 | ) |
|
|
inline |
template<class T>
void CudaArray< T >::SetVBO |
( |
unsigned int |
id1, |
|
|
unsigned int |
id2 |
|
) |
| |
|
inline |
Sets vbo
- Parameters:
-
id1 | id of vbo |
id1 | id of vbo2 |
The documentation for this class was generated from the following file: