VuoImageRenderer implementation.
Definition in file VuoImageRenderer.cc.
Go to the source code of this file.
Classes | |
struct | VuoImageRendererInternal |
Internal state data for a VuoImageRenderer instance. More... | |
Macros | |
#define | glGenVertexArrays glGenVertexArraysAPPLE |
Stub. More... | |
#define | glBindVertexArray glBindVertexArrayAPPLE |
Stub. More... | |
#define | glDeleteVertexArrays glDeleteVertexArraysAPPLE |
Stub. More... | |
Functions | |
static void | VuoImageRenderer_fini (void) |
Destroys and deallocates the image renderer. More... | |
static void | VuoImageRenderer_init (void) |
Initializes global state for rendering a VuoImage. More... | |
VuoImage | VuoImageRenderer_draw (void *ir, VuoShader shader, unsigned int pixelsWide, unsigned int pixelsHigh, VuoImageColorDepth imageColorDepth) |
Deprecated. More... | |
void * | VuoImageRenderer_make (void *) |
Deprecated. More... | |
VuoImage | VuoImageRenderer_render (VuoShader shader, unsigned int pixelsWide, unsigned int pixelsHigh, VuoImageColorDepth imageColorDepth) |
Produces a new VuoImage by rendering shader . More... | |
Variables | |
static VuoImageRendererInternal | VuoImageRendererGlobal |
Internal state data for a VuoImageRenderer instance. More... | |
static const GLfloat | quadData [] |
Positions and texture coordinates for a quad. More... | |
static const GLfloat | unityMatrix [16] |
An identity matrix. More... | |
struct VuoImageRendererInternal |
#define glBindVertexArray glBindVertexArrayAPPLE |
Stub.
Definition at line 19 of file VuoImageRenderer.cc.
#define glDeleteVertexArrays glDeleteVertexArraysAPPLE |
Stub.
Definition at line 20 of file VuoImageRenderer.cc.
#define glGenVertexArrays glGenVertexArraysAPPLE |
Stub.
Definition at line 18 of file VuoImageRenderer.cc.
VuoImage VuoImageRenderer_draw | ( | void * | ir, |
VuoShader | shader, | ||
unsigned int | pixelsWide, | ||
unsigned int | pixelsHigh, | ||
VuoImageColorDepth | imageColorDepth | ||
) |
Deprecated.
This shim exists to enable old 3rd-party nodes to continue working.
Definition at line 113 of file VuoImageRenderer.cc.
|
static |
Destroys and deallocates the image renderer.
This function may be called from any thread.
Definition at line 314 of file VuoImageRenderer.cc.
|
static |
Initializes global state for rendering a VuoImage.
Definition at line 86 of file VuoImageRenderer.cc.
void* VuoImageRenderer_make | ( | void * | ) |
Deprecated.
This shim exists to enable old 3rd-party nodes to continue working.
Definition at line 121 of file VuoImageRenderer.cc.
VuoImage VuoImageRenderer_render | ( | VuoShader | shader, |
unsigned int | pixelsWide, | ||
unsigned int | pixelsHigh, | ||
VuoImageColorDepth | imageColorDepth | ||
) |
Produces a new VuoImage
by rendering shader
.
This function may be called from any thread.
Definition at line 131 of file VuoImageRenderer.cc.
|
static |
Positions and texture coordinates for a quad.
Definition at line 58 of file VuoImageRenderer.cc.
|
static |
An identity matrix.
Definition at line 74 of file VuoImageRenderer.cc.
|
static |
Internal state data for a VuoImageRenderer instance.
Definition at line 53 of file VuoImageRenderer.cc.