InputVectorTexture< float, TOut > Class Template Reference

#include <CudaTexture.h>

Collaboration diagram for InputVectorTexture< float, TOut >:

Collaboration graph
[legend]

Public Types

typedef float TIn

Public Member Functions

__host__ void set (const TIn *x)
__inline__ __device__ TOut get (int i, const TIn *x)

Static Public Attributes

static texture< float,
1, cudaReadModeElementType > 
tex

Detailed Description

template<class TOut>
class InputVectorTexture< float, TOut >

Definition at line 64 of file CudaTexture.h.


Member Typedef Documentation

template<class TOut >
typedef float InputVectorTexture< float, TOut >::TIn

Definition at line 67 of file CudaTexture.h.


Member Function Documentation

template<class TOut >
__inline__ __device__ TOut InputVectorTexture< float, TOut >::get ( int  i,
const TIn *  x 
) [inline]

Definition at line 79 of file CudaTexture.h.

template<class TOut >
__host__ void InputVectorTexture< float, TOut >::set ( const TIn *  x  )  [inline]

Definition at line 70 of file CudaTexture.h.


Field Documentation

template<class TOut >
texture<float,1,cudaReadModeElementType> InputVectorTexture< float, TOut >::tex [static]

Definition at line 68 of file CudaTexture.h.


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

Generated on Sun Nov 23 04:12:53 2008 for Sofa by  doxygen 1.5.7.1