HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_OGLComputeGPU Class Reference

#include <RE_OGLComputeGPU.h>

+ Inheritance diagram for RE_OGLComputeGPU:

Public Member Functions

virtual ~RE_OGLComputeGPU ()
 
virtual void setNumPasses (int passes)
 
virtual void needBitOps (bool enable)
 
virtual bool needsBitOps () const
 
virtual void setConstant (const char *name, UT_GPUType type, int vectorsize, const void *value, int array_size=1, bool global_var=false)
 
virtual voidsetArray (const char *name, UT_GPUType type, int vectorsize, int size, const void *values)
 
virtual voidsetArray2D (const char *name, UT_GPUType type, int vectorsize, int width, int height, const void *values)
 
virtual voidsetArray (const char *name, UT_GPUType type, int vectorsize, int size, const void *values1, const void *values2, const void *values3=NULL, const void *values4=NULL)
 
virtual voidsetArray2D (const char *name, UT_GPUType type, int vectorsize, int width, int height, const void *values1, const void *values2, const void *values3=NULL, const void *values4=NULL)
 
virtual void setOutputArray (const char *name, UT_GPUType type, int vectorsize, int size, void *dest_data)
 
virtual void setOutputArray2D (const char *name, UT_GPUType type, int vectorsize, int width, int height, void *dest_data)
 
virtual int getDataByteSize (UT_GPUType type, int vectorsize, int xsize, int ysize=1)
 
virtual void setLanguage (UT_OGLComputeLanguage lang)
 
virtual bool setProgram (const char *name, const char *program, bool auto_generate_framework=true, const char *preamble_code=NULL, const char *function_code=NULL)
 
virtual void defineSymbol (const char *symbol, const char *value)
 
virtual bool compute (UT_String &errors, bool async_read=false)
 
virtual bool getResults ()
 
virtual voiduseDeferredFetch ()
 
- Public Member Functions inherited from UT_ComputeGPU
virtual ~UT_ComputeGPU ()
 

Static Public Member Functions

static void init ()
 Initialize RE GPU implementation. This must be called on startup. More...
 
static void initStandalone (bool one_per_thread)
 
static RE_RendergetRender ()
 
- Static Public Member Functions inherited from UT_ComputeGPU
static UT_ComputeGPUcreate ()
 
static void registerCreateFunc (UT_ComputeGPUCreateFunc create_func)
 Register a function for creating concrete UT_ComputeGPU objects. More...
 

Additional Inherited Members

- Public Types inherited from UT_ComputeGPU
enum  UT_OGLComputeLanguage { OGL_GLSL }
 
- Protected Member Functions inherited from UT_ComputeGPU
 UT_ComputeGPU ()
 

Detailed Description

Definition at line 56 of file RE_OGLComputeGPU.h.

Constructor & Destructor Documentation

virtual RE_OGLComputeGPU::~RE_OGLComputeGPU ( )
virtual

Member Function Documentation

virtual bool RE_OGLComputeGPU::compute ( UT_String errors,
bool  async_read = false 
)
virtual

Implements UT_ComputeGPU.

virtual void RE_OGLComputeGPU::defineSymbol ( const char *  symbol,
const char *  value 
)
virtual

Implements UT_ComputeGPU.

virtual int RE_OGLComputeGPU::getDataByteSize ( UT_GPUType  type,
int  vectorsize,
int  xsize,
int  ysize = 1 
)
virtual

Implements UT_ComputeGPU.

static RE_Render* RE_OGLComputeGPU::getRender ( )
static
virtual bool RE_OGLComputeGPU::getResults ( )
virtual

Implements UT_ComputeGPU.

static void RE_OGLComputeGPU::init ( )
static

Initialize RE GPU implementation. This must be called on startup.

static void RE_OGLComputeGPU::initStandalone ( bool  one_per_thread)
static
virtual void RE_OGLComputeGPU::needBitOps ( bool  enable)
virtual

Implements UT_ComputeGPU.

virtual bool RE_OGLComputeGPU::needsBitOps ( ) const
inlinevirtual

Implements UT_ComputeGPU.

Definition at line 76 of file RE_OGLComputeGPU.h.

virtual void* RE_OGLComputeGPU::setArray ( const char *  name,
UT_GPUType  type,
int  vectorsize,
int  size,
const void values 
)
virtual

Implements UT_ComputeGPU.

virtual void* RE_OGLComputeGPU::setArray ( const char *  name,
UT_GPUType  type,
int  vectorsize,
int  size,
const void values1,
const void values2,
const void values3 = NULL,
const void values4 = NULL 
)
virtual

Implements UT_ComputeGPU.

virtual void* RE_OGLComputeGPU::setArray2D ( const char *  name,
UT_GPUType  type,
int  vectorsize,
int  width,
int  height,
const void values 
)
virtual

Implements UT_ComputeGPU.

virtual void* RE_OGLComputeGPU::setArray2D ( const char *  name,
UT_GPUType  type,
int  vectorsize,
int  width,
int  height,
const void values1,
const void values2,
const void values3 = NULL,
const void values4 = NULL 
)
virtual

Implements UT_ComputeGPU.

virtual void RE_OGLComputeGPU::setConstant ( const char *  name,
UT_GPUType  type,
int  vectorsize,
const void value,
int  array_size = 1,
bool  global_var = false 
)
virtual

Implements UT_ComputeGPU.

virtual void RE_OGLComputeGPU::setLanguage ( UT_OGLComputeLanguage  lang)
virtual

Implements UT_ComputeGPU.

virtual void RE_OGLComputeGPU::setNumPasses ( int  passes)
virtual

Implements UT_ComputeGPU.

virtual void RE_OGLComputeGPU::setOutputArray ( const char *  name,
UT_GPUType  type,
int  vectorsize,
int  size,
void dest_data 
)
virtual

Implements UT_ComputeGPU.

virtual void RE_OGLComputeGPU::setOutputArray2D ( const char *  name,
UT_GPUType  type,
int  vectorsize,
int  width,
int  height,
void dest_data 
)
virtual

Implements UT_ComputeGPU.

virtual bool RE_OGLComputeGPU::setProgram ( const char *  name,
const char *  program,
bool  auto_generate_framework = true,
const char *  preamble_code = NULL,
const char *  function_code = NULL 
)
virtual

Implements UT_ComputeGPU.

virtual void* RE_OGLComputeGPU::useDeferredFetch ( )
virtual

Implements UT_ComputeGPU.


The documentation for this class was generated from the following file: