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

Public Member Functions

Query createQuery (RTPquerytype queryType)
 
Context getContext ()
 
void finish ()
 
int isFinished ()
 
void update (unsigned hints)
 
void copy (const Model &srcModel)
 
void setTriangles (RTPsize triCount, RTPbuffertype type, const void *vertPtr, unsigned stride=0)
 
void setTriangles (RTPsize triCount, RTPbuffertype type, const void *indexPtr, RTPsize vertCount, RTPbuffertype vertType, const void *vertPtr, unsigned stride=0)
 
void setTriangles (const BufferDesc &vertices)
 
void setTriangles (const BufferDesc &indices, const BufferDesc &vertices)
 
void setInstances (RTPsize count, RTPbuffertype instanceType, const RTPmodel *instanceList, RTPbufferformat transformFormat, RTPbuffertype transformType, const void *transformList)
 
void setInstances (const BufferDesc &instances, const BufferDesc &transforms)
 
void setBuilderParameter (RTPbuilderparam param, RTPsize size, const void *p)
 
template<typename T >
void setBuilderParameter (RTPbuilderparam param, const T &val)
 
RTPmodel getRTPmodel ()
 

Friends

class ContextObj
 
class QueryObj
 

Detailed Description

Encapsulates an OptiX Prime model. The purpose of a model is to represent a set of triangles and an acceleration structure.