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

#include <CurvesGeom.h>

Inheritance diagram for owl::CurvesGeom::DeviceData:

Public Member Functions

 DeviceData (const DeviceContext::SP &device)
 

Public Attributes

std::vector< CUdeviceptr > verticesPointers
 
std::vector< CUdeviceptr > widthsPointers
 
CUdeviceptr indicesPointer = (CUdeviceptr)0
 

Detailed Description

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

Member Data Documentation

◆ indicesPointer

CUdeviceptr owl::CurvesGeom::DeviceData::indicesPointer = (CUdeviceptr)0

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

◆ verticesPointers

std::vector<CUdeviceptr> owl::CurvesGeom::DeviceData::verticesPointers

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

◆ widthsPointers

std::vector<CUdeviceptr> owl::CurvesGeom::DeviceData::widthsPointers

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: