Blender V2.61 - r43446
Public Member Functions

device_vector< T > Class Template Reference

#include <device_memory.h>

Inheritance diagram for device_vector< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 device_vector ()
virtual ~device_vector ()
T * resize (size_t width, size_t height=0)
T * copy (T *ptr, size_t width, size_t height=0)
void reference (T *ptr, size_t width, size_t height=0)
void clear ()
size_t size ()

Detailed Description

template<typename T>
class device_vector< T >

Definition at line 181 of file device_memory.h.


Constructor & Destructor Documentation

template<typename T>
device_vector< T >::device_vector ( ) [inline]

Definition at line 184 of file device_memory.h.

template<typename T>
virtual device_vector< T >::~device_vector ( ) [inline, virtual]

Definition at line 198 of file device_memory.h.


Member Function Documentation

template<typename T>
void device_vector< T >::clear ( ) [inline]
template<typename T>
T* device_vector< T >::copy ( T *  ptr,
size_t  width,
size_t  height = 0 
) [inline]
template<typename T>
void device_vector< T >::reference ( T *  ptr,
size_t  width,
size_t  height = 0 
) [inline]

Definition at line 219 of file device_memory.h.

Referenced by MeshManager::device_update_bvh().

template<typename T>
T* device_vector< T >::resize ( size_t  width,
size_t  height = 0 
) [inline]
template<typename T>
size_t device_vector< T >::size ( ) [inline]

Definition at line 237 of file device_memory.h.

Referenced by MeshManager::displace(), and MeshManager::update_svm_attributes().


The documentation for this class was generated from the following file: