OpenGL texture with CUDA interoperability.
More...
#include <glTexture.h>
|
static glTexture * | Create (uint32_t width, uint32_t height, uint32_t format, void *data=NULL) |
|
OpenGL texture with CUDA interoperability.
◆ ~glTexture()
glTexture::~glTexture |
( |
| ) |
|
◆ Create()
static glTexture* glTexture::Create |
( |
uint32_t |
width, |
|
|
uint32_t |
height, |
|
|
uint32_t |
format, |
|
|
void * |
data = NULL |
|
) |
| |
|
static |
◆ GetFormat()
uint32_t glTexture::GetFormat |
( |
| ) |
const |
|
inline |
◆ GetHeight()
uint32_t glTexture::GetHeight |
( |
| ) |
const |
|
inline |
◆ GetID()
uint32_t glTexture::GetID |
( |
| ) |
const |
|
inline |
◆ GetSize()
uint32_t glTexture::GetSize |
( |
| ) |
const |
|
inline |
◆ GetWidth()
uint32_t glTexture::GetWidth |
( |
| ) |
const |
|
inline |
◆ MapCUDA()
void* glTexture::MapCUDA |
( |
| ) |
|
◆ Render() [1/3]
void glTexture::Render |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
◆ Render() [2/3]
void glTexture::Render |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
width, |
|
|
float |
height |
|
) |
| |
◆ Render() [3/3]
void glTexture::Render |
( |
const float4 & |
rect | ) |
|
◆ Unmap()
void glTexture::Unmap |
( |
| ) |
|
◆ UploadCPU()
bool glTexture::UploadCPU |
( |
void * |
data | ) |
|
The documentation for this class was generated from the following file: