Volume device-data accessor interface.
More...
#include <isparse_volume_subset.h>
Inherits mi::base::Interface_declare< 0x60d74933, ... >.
Volume device-data accessor interface.
An instance of this class will hold ownership of the device data. For this reason managing the life-time of an instance is important for when to free up the data.
- Note
- WORK IN PROGRESS
- for now uses the Sparse_volume_voxel_format enum to represent volume type
◆ get_data_extent()
virtual mi::math::Vector< mi::Uint32, 3 > nv::index::IVolume_device_data_buffer::get_data_extent |
( |
| ) |
const |
|
pure virtual |
◆ get_data_format()
Voxel format of the volume data.
◆ get_data_position()
virtual mi::math::Vector< mi::Sint32, 3 > nv::index::IVolume_device_data_buffer::get_data_position |
( |
| ) |
const |
|
pure virtual |
Volume data position in local volume space.
◆ get_data_size()
virtual mi::Size nv::index::IVolume_device_data_buffer::get_data_size |
( |
| ) |
const |
|
pure virtual |
The size of the buffer in Bytes.
◆ get_device_data()
virtual void * nv::index::IVolume_device_data_buffer::get_device_data |
( |
| ) |
const |
|
pure virtual |
Raw memory pointer to internal device-buffer data.
◆ get_gpu_device_id()
virtual mi::Sint32 nv::index::IVolume_device_data_buffer::get_gpu_device_id |
( |
| ) |
const |
|
pure virtual |
GPU device id if the buffer is located on a GPU device,.
◆ is_valid()
virtual bool nv::index::IVolume_device_data_buffer::is_valid |
( |
| ) |
const |
|
pure virtual |
Verify if a data subset is valid.
The documentation for this class was generated from the following file: