Kinetic Visualization
 All Classes Functions Variables Pages
Public Types | Public Member Functions
CudaTexture< T, N > Class Template Reference
Inheritance diagram for CudaTexture< T, N >:
Cuda

List of all members.

Public Types

enum  CudaTextureType { CTT_CUDA, CTT_CUDA_RW, CTT_CUDA_READ_OGL_TEXTURE, CTT_READ_WRITE_CUDA_AND_OGL }

Public Member Functions

 CudaTexture ()
 CudaTexture (unsigned int width, unsigned int height, unsigned int depth)
 CudaTexture (unsigned int width, unsigned int height, unsigned int depth, bool write)
 CudaTexture (Texture::TexturePtr tex)
 CudaTexture (Texture::TexturePtr tex, bool write)
 ~CudaTexture (void)
void Create ()
void Map ()
void Unmap ()
void Reset ()
cudaArray * GetCudaTexture ()
T * GetCudaArray ()
cudaExtent GetCudaExtend ()
- Public Member Functions inherited from Cuda
 Cuda (void)
 ~Cuda (void)
void ArrayCopy (cudaArray *srcArray, void *dstArray, size_t size, cudaExtent res)
void ArrayCopy (void *srcArray, void *dstArray, size_t size, cudaExtent res)
void ArrayCopy (cudaArray *srcArray, cudaArray *dstArray, size_t size, cudaExtent res)
void ArrayCopy (void *srcArray, cudaArray *dstArray, size_t size, cudaExtent res)

Additional Inherited Members

- Public Attributes inherited from Cuda
glm::mat4 m_camView
glm::mat4 m_camProj
VertexGeometrym_plane

Constructor & Destructor Documentation

template<class T, unsigned int N>
CudaTexture< T, N >::CudaTexture ( )
inline

Standardconstructor

template<class T, unsigned int N>
CudaTexture< T, N >::CudaTexture ( unsigned int  width,
unsigned int  height,
unsigned int  depth 
)
inline

Constructor

Parameters:
widthwidth
heightheight
depthdepth
template<class T, unsigned int N>
CudaTexture< T, N >::CudaTexture ( unsigned int  width,
unsigned int  height,
unsigned int  depth,
bool  write 
)
inline

Constructor

Parameters:
widthwidth
heightheight
depthdepth
writecreate write buffer
template<class T, unsigned int N>
CudaTexture< T, N >::CudaTexture ( Texture::TexturePtr  tex)
inline

Constructor

Parameters:
texTexture
template<class T, unsigned int N>
CudaTexture< T, N >::CudaTexture ( Texture::TexturePtr  tex,
bool  write 
)
inline

Constructor

Parameters:
texTexture
writecreate write buffer
template<class T, unsigned int N>
CudaTexture< T, N >::~CudaTexture ( void  )
inline

Standarddekonstructor


Member Function Documentation

template<class T, unsigned int N>
void CudaTexture< T, N >::Create ( )
inline

Create Buffer

template<class T, unsigned int N>
T* CudaTexture< T, N >::GetCudaArray ( )
inline

Returns Cuda Array

template<class T, unsigned int N>
cudaExtent CudaTexture< T, N >::GetCudaExtend ( )
inline

Returns Dimensions of Texture

template<class T, unsigned int N>
cudaArray* CudaTexture< T, N >::GetCudaTexture ( )
inline

Returns Cuda Texture

template<class T, unsigned int N>
void CudaTexture< T, N >::Map ( )
inline

Map texture

template<class T, unsigned int N>
void CudaTexture< T, N >::Reset ( )
inline

Reset texture

template<class T, unsigned int N>
void CudaTexture< T, N >::Unmap ( )
inline

Unmap texture


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