OWL
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
owl::TrianglesGeom::DeviceData Struct Reference

#include <Triangles.h>

Inheritance diagram for owl::TrianglesGeom::DeviceData:
owl::Object::DeviceData

Public Member Functions

 DeviceData (const DeviceContext::SP &device)
 
- Public Member Functions inherited from owl::Object::DeviceData
 DeviceData (DeviceContext::SP device)
 
virtual ~DeviceData ()
 
template<typename T >
T & as ()
 

Public Attributes

std::vector< CUdeviceptr > vertexPointers
 
CUdeviceptr indexPointer = (CUdeviceptr)0
 
- Public Attributes inherited from owl::Object::DeviceData
DeviceContext::SP device
 

Additional Inherited Members

- Public Types inherited from owl::Object::DeviceData
typedef std::shared_ptr< DeviceDataSP
 

Detailed Description

any device-specific data, such as optix handles, cuda device pointers, etc

Member Data Documentation

◆ indexPointer

CUdeviceptr owl::TrianglesGeom::DeviceData::indexPointer = (CUdeviceptr)0

device poiner to array of indices - the memory for the indices will live in some sort of buffer; this only points to that buffer

◆ vertexPointers

std::vector<CUdeviceptr> owl::TrianglesGeom::DeviceData::vertexPointers

this is a vector of vertex arrays, for motion blur purposes. ie, for static meshes only one entry is used, for motion blur two (and eventually, maybe more) will be used


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