HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CVEX_Context.h File Reference
#include "CVEX_API.h"
#include "CVEX_Function.h"
#include "CVEX_ValueList.h"
#include "CVEX_Transform.h"
#include <VEX/VEX_PodTypes.h>
#include <UT/UT_NonCopyable.h>
#include <UT/UT_UniquePtr.h>
+ Include dependency graph for CVEX_Context.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cvex_RunData< PREC >
 
class  VEX_AutoInstance< PREC >
 
class  VEX_AutoFoldedCode< PREC >
 
class  VEX_Instance< PREC >
 
class  VEX_GeoCommandQueue< PREC >
 
class  CVEX_RunDataT< PREC >
 Per-run data for CVEX execution. More...
 
class  CVEX_ContextT< PREC >
 Call VEX from C++. More...
 

Typedefs

using CVEX_RunData = CVEX_RunDataT< VEX_32 >
 
using CVEX_Context = CVEX_ContextT< VEX_32 >
 

Enumerations

enum  CVEX_ProbeResult {
  CVEX_ProbeResult::PROBE_ERROR, CVEX_ProbeResult::NOT_ASSIGNED, CVEX_ProbeResult::CONSTANT_0, CVEX_ProbeResult::CONSTANT_1,
  CVEX_ProbeResult::CONSTANT_VALUE, CVEX_ProbeResult::NOT_CONSTANT
}
 

Functions

 CVEX_EXTERN_TEMPLATE (CVEX_RunDataT< VEX_32 >)
 
 CVEX_EXTERN_TEMPLATE (CVEX_RunDataT< VEX_64 >)
 
CVEX_API exint CVEXgetGlobalContextUniqueId ()
 
CVEX_API exint CVEXgetGlobalContextClearCount ()
 
 CVEX_EXTERN_TEMPLATE (CVEX_ContextT< VEX_32 >)
 
 CVEX_EXTERN_TEMPLATE (CVEX_ContextT< VEX_64 >)
 

Typedef Documentation

using CVEX_Context = CVEX_ContextT<VEX_32>

Definition at line 455 of file CVEX_Context.h.

using CVEX_RunData = CVEX_RunDataT<VEX_32>

Definition at line 173 of file CVEX_Context.h.

Enumeration Type Documentation

enum CVEX_ProbeResult
strong
Enumerator
PROBE_ERROR 
NOT_ASSIGNED 
CONSTANT_0 
CONSTANT_1 
CONSTANT_VALUE 
NOT_CONSTANT 

Definition at line 185 of file CVEX_Context.h.

Function Documentation

CVEX_EXTERN_TEMPLATE ( CVEX_RunDataT< VEX_32 >  )
CVEX_EXTERN_TEMPLATE ( CVEX_RunDataT< VEX_64 >  )
CVEX_EXTERN_TEMPLATE ( CVEX_ContextT< VEX_32 >  )
CVEX_EXTERN_TEMPLATE ( CVEX_ContextT< VEX_64 >  )
CVEX_API exint CVEXgetGlobalContextClearCount ( )
CVEX_API exint CVEXgetGlobalContextUniqueId ( )

These methods return the meta count and unique id of the global cvex function cache. This isn't for this particular context, thus is static. If these change, all your contexts allocated before will be invalid.