Definition of internal buffer information. More...
#include <iheight_field_subset.h>
Public Attributes | |
mi::Float32 * | data |
Raw memory pointer to internal elevation values. More... | |
mi::math::Vector_struct< mi::Float32, 3 > * | normals |
Raw memory pointer to internal normals values. More... | |
mi::Size | size |
Number of values in tile. More... | |
mi::Sint32 | gpu_device_id |
GPU device id if the buffer is located on a GPU device, -1 to indicate a host buffer. More... | |
Definition of internal buffer information.
The internal buffer information can be queried using the access_tile_data_buffer()
method to gain access to the internal buffer data for direct write operations. This enables zero-copy optimizations for implementations of, e.g., IDistributed_compute_technique
where large parts of the data-subset buffer can be written directly without going through the write()
methods.
mi::Float32* nv::index::IHeight_field_subset::Data_tile_buffer_info::data |
Raw memory pointer to internal elevation values.
mi::Sint32 nv::index::IHeight_field_subset::Data_tile_buffer_info::gpu_device_id |
GPU device id if the buffer is located on a GPU device, -1 to indicate a host buffer.
mi::math::Vector_struct<mi::Float32, 3>* nv::index::IHeight_field_subset::Data_tile_buffer_info::normals |
Raw memory pointer to internal normals values.
mi::Size nv::index::IHeight_field_subset::Data_tile_buffer_info::size |
Number of values in tile.