NVIDIA OptiX 6.5 API nvidia_logo_transpbg.gif Up
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
optix::prime::ContextObj Class Reference
Inheritance diagram for optix::prime::ContextObj:

Public Member Functions

BufferDesc createBufferDesc (RTPbufferformat format, RTPbuffertype type, void *buffer)
 
Model createModel ()
 
void setCudaDeviceNumbers (const std::vector< unsigned > &deviceNumbers)
 
void setCudaDeviceNumbers (unsigned deviceCount, const unsigned *deviceNumbers)
 
void setCpuThreads (unsigned numThreads)
 
std::string getLastErrorString ()
 
RTPcontext getRTPcontext ()
 

Static Public Member Functions

static Context create (RTPcontexttype type)
 

Friends

class QueryObj
 
class ModelObj
 
class BufferDescObj
 

Detailed Description

Wraps the OptiX Prime C API RTPcontext opaque type and its associated function set representing an OptiX Prime context.