NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros
tex.h File Reference
#include <nvbio/basic/types.h>
#include <nvbio/basic/cuda/arch.h>

Go to the source code of this file.

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 
 nvbio::cuda
 

Macros

#define DECL_TEXTURE_WRAPPER_CLASS(NAME, TYPE)
 
#define INST_TEXTURE_WRAPPER_CLASS(NAME, TYPE)
 
#define DECL_TEXTURE_SELECTOR_WRAPPER_CLASS(NAME, TYPE)
 
#define INST_TEXTURE_SELECTOR_WRAPPER_CLASS(NAME, TYPE)
 
#define DECL_TEXTURE_WRAPPER_CLASS_2D(NAME, TYPE)
 
#define INST_TEXTURE_WRAPPER_CLASS_2D(NAME, TYPE)
 
#define DECL_TEXTURE_SELECTOR_WRAPPER_CLASS_2D(NAME, TYPE)
 
#define INST_TEXTURE_SELECTOR_WRAPPER_CLASS_2D(NAME, TYPE)
 

Macro Definition Documentation

#define DECL_TEXTURE_SELECTOR_WRAPPER_CLASS (   NAME,
  TYPE 
)
Value:
struct NAME ## _texture_selector \
{ \
static NVBIO_FORCEINLINE NVBIO_HOST void bind(const uint32* NAME, uint32 size) {} \
\
static NVBIO_FORCEINLINE NVBIO_HOST void unbind() {} \
};

Definition at line 239 of file tex.h.

#define DECL_TEXTURE_SELECTOR_WRAPPER_CLASS_2D (   NAME,
  TYPE 
)
Value:
struct NAME ## _texture_selector_2d \
{ \
static NVBIO_FORCEINLINE NVBIO_HOST void bind(const uint32* NAME, uint32 size) {} \
\
static NVBIO_FORCEINLINE NVBIO_HOST void unbind() {} \
};

Definition at line 259 of file tex.h.

#define DECL_TEXTURE_WRAPPER_CLASS (   NAME,
  TYPE 
)
Value:
struct NAME ## _texture \
{ \
static NVBIO_FORCEINLINE NVBIO_HOST void bind(const uint32* NAME, uint32 size) {} \
\
static NVBIO_FORCEINLINE NVBIO_HOST void unbind() {} \
};

Definition at line 229 of file tex.h.

#define DECL_TEXTURE_WRAPPER_CLASS_2D (   NAME,
  TYPE 
)
Value:
struct NAME ## _texture_2d \
{ \
static NVBIO_FORCEINLINE NVBIO_HOST void bind(const uint32* NAME, uint32 size) {} \
\
static NVBIO_FORCEINLINE NVBIO_HOST void unbind() {} \
};

Definition at line 249 of file tex.h.

#define INST_TEXTURE_SELECTOR_WRAPPER_CLASS (   NAME,
  TYPE 
)

Definition at line 247 of file tex.h.

#define INST_TEXTURE_SELECTOR_WRAPPER_CLASS_2D (   NAME,
  TYPE 
)

Definition at line 267 of file tex.h.

#define INST_TEXTURE_WRAPPER_CLASS (   NAME,
  TYPE 
)

Definition at line 237 of file tex.h.

#define INST_TEXTURE_WRAPPER_CLASS_2D (   NAME,
  TYPE 
)

Definition at line 257 of file tex.h.