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

#include <UT_ComputeGPU.h>

+ Inheritance diagram for UT_ComputeGPUState:

Public Member Functions

virtual ~UT_ComputeGPUState ()
 
virtual void initStandalone (bool one_per_thread=true)
 
virtual void cleanupStandalone ()
 
virtual void getGLSLComputeDir (UT_String &dir)
 
virtual bool hasGPUSupport ()
 
virtual bool areBitOpsSupported ()
 
virtual void beginDeferredRead (void *key)
 
virtual bool endDeferredRead (void *key)
 
virtual void cancelDeferredRead (void *key)
 
virtual bool useTextureRectangles ()
 
virtual int getMaxArraySize ()
 
virtual int getMaxArraySize2D ()
 
virtual void reset ()
 
virtual void restoreState ()
 
virtual void cleanupState ()
 

Static Public Member Functions

static UT_ComputeGPUStateget ()
 
static void set (UT_ComputeGPUState *gpu_state)
 

Protected Member Functions

 UT_ComputeGPUState ()
 

Detailed Description

Class for manipulating global state needed for GPU computation. This is a singleton class. You can access the singleton by calling the static get() method.

Definition at line 242 of file UT_ComputeGPU.h.

Constructor & Destructor Documentation

virtual UT_ComputeGPUState::~UT_ComputeGPUState ( )
virtual
UT_ComputeGPUState::UT_ComputeGPUState ( )
protected

Member Function Documentation

virtual bool UT_ComputeGPUState::areBitOpsSupported ( )
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 258 of file UT_ComputeGPU.h.

virtual void UT_ComputeGPUState::beginDeferredRead ( void key)
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 260 of file UT_ComputeGPU.h.

virtual void UT_ComputeGPUState::cancelDeferredRead ( void key)
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 262 of file UT_ComputeGPU.h.

virtual void UT_ComputeGPUState::cleanupStandalone ( )
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 251 of file UT_ComputeGPU.h.

virtual void UT_ComputeGPUState::cleanupState ( )
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 277 of file UT_ComputeGPU.h.

virtual bool UT_ComputeGPUState::endDeferredRead ( void key)
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 261 of file UT_ComputeGPU.h.

static UT_ComputeGPUState* UT_ComputeGPUState::get ( )
static
virtual void UT_ComputeGPUState::getGLSLComputeDir ( UT_String dir)
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 252 of file UT_ComputeGPU.h.

virtual int UT_ComputeGPUState::getMaxArraySize ( )
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 269 of file UT_ComputeGPU.h.

virtual int UT_ComputeGPUState::getMaxArraySize2D ( )
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 270 of file UT_ComputeGPU.h.

virtual bool UT_ComputeGPUState::hasGPUSupport ( )
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 256 of file UT_ComputeGPU.h.

virtual void UT_ComputeGPUState::initStandalone ( bool  one_per_thread = true)
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 250 of file UT_ComputeGPU.h.

virtual void UT_ComputeGPUState::reset ( void  )
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 274 of file UT_ComputeGPU.h.

virtual void UT_ComputeGPUState::restoreState ( )
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 276 of file UT_ComputeGPU.h.

static void UT_ComputeGPUState::set ( UT_ComputeGPUState gpu_state)
static
virtual bool UT_ComputeGPUState::useTextureRectangles ( )
inlinevirtual

Reimplemented in RE_OGLComputeGPUState.

Definition at line 266 of file UT_ComputeGPU.h.


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