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

Public Member Functions

void destroy ()
 
void validate ()
 
Context getContext () const
 
RTgeometrytriangles get ()
 
void setPrimitiveIndexOffset (unsigned int index_offset)
 
unsigned int getPrimitiveIndexOffset () const
 
void setPrimitiveCount (unsigned int num_triangles)
 
unsigned int getPrimitiveCount () const
 
void setPreTransformMatrix (bool transpose, const float *matrix)
 
void getPreTransformMatrix (bool transpose, float *matrix)
 
void setTriangleIndices (Buffer index_buffer, RTformat tri_indices_format)
 
void setTriangleIndices (Buffer index_buffer, RTsize index_buffer_byte_offset, RTformat tri_indices_format)
 
void setTriangleIndices (Buffer index_buffer, RTsize index_buffer_byte_offset, RTsize tri_indices_byte_stride, RTformat tri_indices_format)
 
void setVertices (unsigned int num_vertices, Buffer vertex_buffer, RTformat position_format)
 
void setVertices (unsigned int num_vertices, Buffer vertex_buffer, RTsize vertex_buffer_byte_offset, RTformat position_format)
 
void setVertices (unsigned int num_vertices, Buffer vertex_buffer, RTsize vertex_buffer_byte_offset, RTsize vertex_byte_stride, RTformat position_format)
 
void setAttributeProgram (Program program)
 
Program getAttributeProgram () const
 
Variable declareVariable (const std::string &name)
 
Variable queryVariable (const std::string &name) const
 
void removeVariable (Variable v)
 
unsigned int getVariableCount () const
 
Variable getVariable (unsigned int index) const
 
void setMotionRange (float timeBegin, float timeEnd)
 
void getMotionRange (float &timeBegin, float &timeEnd) const
 
void setMotionBorderMode (RTmotionbordermode beginMode, RTmotionbordermode endMode)
 
void getMotionBorderMode (RTmotionbordermode &beginMode, RTmotionbordermode &endMode) const
 
void setMotionSteps (unsigned int n)
 
unsigned int getMotionSteps () const
 
void setMotionVertices (unsigned int num_vertices, Buffer vertex_buffer, RTsize vertex_buffer_byte_offset, RTsize vertex_byte_stride, RTsize vertex_motion_step_byte_stride, RTformat position_format)
 
template<class BufferIterator >
void setMotionVerticesMultiBuffer (unsigned int num_vertices, BufferIterator vertex_buffers_begin, BufferIterator vertex_buffers_end, RTsize vertex_buffer_byte_offset, RTsize vertex_byte_stride, RTformat position_format)
 
void setBuildFlags (RTgeometrybuildflags build_flags)
 
void setMaterialCount (unsigned int num_materials)
 
unsigned int getMaterialCount () const
 
void setMaterialIndices (Buffer material_index_buffer, RTsize material_index_buffer_byte_offset, RTsize material_index_byte_stride, RTformat material_index_format)
 
void setFlagsPerMaterial (unsigned int material_index, RTgeometryflags flags)
 
RTgeometryflags getFlagsPerMaterial (unsigned int material_index) const
 

Friends

class Handle< GeometryTrianglesObj >
 

Additional Inherited Members

- Static Public Member Functions inherited from optix::APIObj
static Exception makeException (RTresult code, RTcontext context)
 

Detailed Description

GeometryTriangles wraps the OptiX C API RTgeometrytriangles opaque type and its associated function set.