#include "VEX_API.h"#include "VEX_VexTypes.h"Go to the source code of this file.
Classes | |
| class | VEX_VexOp |
| Use this class to extend VEX by adding custom VEX functions. More... | |
Defines | |
| #define | VEX_OPTIMIZE_0 0 |
| #define | VEX_OPTIMIZE_1 1 |
| #define | VEX_OPTIMIZE_2 2 |
Typedefs | |
| typedef void *(* | VEX_VexOpInit )() |
| typedef void(* | VEX_VexOpCallback )(int argc, void *argv[], void *data) |
| typedef void(* | VEX_VexOpCleanup )(void *data) |
| VEX operator cleanup callback. When called, it should deallocate the data. | |
| typedef void(* | VEX_VexOpCompleted )(void *data) |
Functions | |
| SYS_VISIBILITY_EXPORT void | newVEXOp (void *) |
| Function called in DSO to install new functions. | |
| #define VEX_OPTIMIZE_0 0 |
Perform no optimization on the VEX function
Definition at line 111 of file VEX_VexOp.h.
| #define VEX_OPTIMIZE_1 1 |
If the result of the function is unused, the function can be eliminated.
Definition at line 112 of file VEX_VexOp.h.
| #define VEX_OPTIMIZE_2 2 |
Definition at line 113 of file VEX_VexOp.h.
| typedef void(* VEX_VexOpCallback)(int argc, void *argv[], void *data) |
VEX operator evaluation callback. When called, the data returned by the VEX_VexOpInit function will be passed as the "data" argument.
Definition at line 80 of file VEX_VexOp.h.
| typedef void(* VEX_VexOpCleanup)(void *data) |
VEX operator cleanup callback. When called, it should deallocate the data.
Definition at line 82 of file VEX_VexOp.h.
| typedef void(* VEX_VexOpCompleted)(void *data) |
VEX operator completed callback. Called when a shader that evaluated a custom operator completes.
Definition at line 85 of file VEX_VexOp.h.
| typedef void*(* VEX_VexOpInit)() |
VEX operator initialization callback. When called, it should allocated and initialize custom state data.
Definition at line 77 of file VEX_VexOp.h.
| SYS_VISIBILITY_EXPORT void newVEXOp | ( | void * | ) |
Function called in DSO to install new functions.
Definition at line 114 of file VEX_Example.C.
1.5.9