Vuo
1.2.6
|
VuoImageRenderer implementation.
Classes | |
struct | VuoImageRendererInternal |
Internal state data for a VuoImageRenderer instance. More... | |
Macros | |
#define | glGenVertexArrays glGenVertexArraysAPPLE |
#define | glBindVertexArray glBindVertexArrayAPPLE |
#define | glDeleteVertexArrays glDeleteVertexArraysAPPLE |
Functions | |
static void | VuoImageRenderer_fini (void) |
Destroys and deallocates the image renderer. | |
static void | VuoImageRenderer_init (void) |
Initializes global state for rendering a VuoImage. | |
VuoImage | VuoImageRenderer_draw (void *ir, VuoShader shader, unsigned int pixelsWide, unsigned int pixelsHigh, VuoImageColorDepth imageColorDepth) |
Deprecated. | |
void * | VuoImageRenderer_make (void *) |
Deprecated. | |
VuoImage | VuoImageRenderer_render (VuoShader shader, unsigned int pixelsWide, unsigned int pixelsHigh, VuoImageColorDepth imageColorDepth) |
Produces a new VuoImage by rendering shader . | |
Variables | |
static VuoImageRendererInternal | VuoImageRendererGlobal |
Internal state data for a VuoImageRenderer instance. | |
static const GLfloat | triData [] |
Positions and texture coordinates for a full-screen triangle. | |
static const GLfloat | unityMatrix [16] |
An identity matrix. | |
struct VuoImageRendererInternal |
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.
|
static |
Destroys and deallocates the image renderer.
This function may be called from any thread.
|
static |
Initializes global state for rendering a VuoImage.
void* VuoImageRenderer_make | ( | void * | ) |
Deprecated.
This shim exists to enable old 3rd-party nodes to continue working.
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.
|
static |
Positions and texture coordinates for a full-screen triangle.
|
static |
An identity matrix.
|
static |
Internal state data for a VuoImageRenderer instance.