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

#include <Group.h>

Inheritance diagram for owl::Group::DeviceData:
owl::InstanceGroup::DeviceData

Public Types

typedef std::shared_ptr< DeviceDataSP
 

Public Member Functions

 DeviceData (const DeviceContext::SP &device)
 

Public Attributes

OptixTraversableHandle traversable = 0
 
DeviceMemory bvhMemory
 
size_t memFinal = 0
 memory used for the BVH, last time it was built.
 
size_t memPeak = 0
 peak memory uesd during building, last time it was built.
 

Detailed Description

any device-specific data, such as optix handles, cuda device pointers, etc; for accel's that's pretty much the BVH memory for this type, and the specific OptixTraversableHandle to traverse it

Constructor & Destructor Documentation

◆ DeviceData()

owl::Group::DeviceData::DeviceData ( const DeviceContext::SP &  device)

constructor - pass-through to parent class

Member Data Documentation

◆ bvhMemory

DeviceMemory owl::Group::DeviceData::bvhMemory

device memory that keeps the final, possibly compacted, BVH memory

◆ traversable

OptixTraversableHandle owl::Group::DeviceData::traversable = 0

the handle for this BVH that can be passed to optixTrace


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