HDK
|
#include <UT_ComputeGPU.h>
Public Types | |
enum | UT_OGLComputeLanguage { OGL_GLSL } |
Public Member Functions | |
virtual | ~UT_ComputeGPU () |
virtual void | setNumPasses (int passes)=0 |
virtual void | needBitOps (bool enable)=0 |
virtual bool | needsBitOps () const =0 |
virtual void | setConstant (const char *name, UT_GPUType type, int vectorsize, const void *value, int array_size=1, bool global_var=false)=0 |
virtual void * | setArray (const char *name, UT_GPUType type, int vectorsize, int size, const void *values)=0 |
virtual void * | setArray2D (const char *name, UT_GPUType type, int vectorsize, int width, int height, const void *values)=0 |
virtual void * | setArray (const char *name, UT_GPUType type, int vectorsize, int size, const void *values1, const void *values2, const void *values3=0, const void *values4=0)=0 |
virtual void * | setArray2D (const char *name, UT_GPUType type, int vectorsize, int width, int height, const void *values1, const void *values2, const void *values3=0, const void *values4=0)=0 |
virtual void | setOutputArray (const char *name, UT_GPUType type, int vectorsize, int size, void *dest_data)=0 |
virtual void | setOutputArray2D (const char *name, UT_GPUType type, int vectorsize, int width, int height, void *dest_data)=0 |
virtual int | getDataByteSize (UT_GPUType type, int vectorsize, int xsize, int ysize=1)=0 |
virtual void | setLanguage (UT_OGLComputeLanguage lang)=0 |
virtual bool | setProgram (const char *name, const char *program, bool auto_generate_framework=true, const char *preamble_code=0, const char *function_code=0)=0 |
virtual void | defineSymbol (const char *symbol, const char *value)=0 |
virtual bool | compute (UT_String &errors, bool async_read=false)=0 |
virtual bool | getResults ()=0 |
virtual void * | useDeferredFetch ()=0 |
Static Public Member Functions | |
static UT_ComputeGPU * | create () |
static void | registerCreateFunc (UT_ComputeGPUCreateFunc create_func) |
Register a function for creating concrete UT_ComputeGPU objects. More... | |
Protected Member Functions | |
UT_ComputeGPU () | |
Definition at line 70 of file UT_ComputeGPU.h.
Enumerator | |
---|---|
OGL_GLSL |
Definition at line 77 of file UT_ComputeGPU.h.
|
virtual |
|
protected |
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
static |
Create a new UT_ComputeGPU object. The caller takes ownership of the returned object and is responsible for deleting it.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
static |
Register a function for creating concrete UT_ComputeGPU objects.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.
|
pure virtual |
Implemented in RE_OGLComputeGPU.