Interface to compute results from a compute plane target.
More...
#include <icompute.h>
Inherits mi::base::Interface_declare< 0x8f335887, ... >.
Interface to compute results from a compute plane target.
◆ get_nb_values()
virtual mi::Uint32 nv::index::ICompute_result_buffer_2D::get_nb_values |
( |
| ) |
const |
|
pure virtual |
◆ get_offset()
virtual mi::math::Vector_struct< mi::Uint32, 2 > nv::index::ICompute_result_buffer_2D::get_offset |
( |
| ) |
const |
|
pure virtual |
◆ get_resolution()
virtual mi::math::Vector_struct< mi::Uint32, 2 > nv::index::ICompute_result_buffer_2D::get_resolution |
( |
| ) |
const |
|
pure virtual |
◆ get_value_masks()
virtual const mi::Uint32 * nv::index::ICompute_result_buffer_2D::get_value_masks |
( |
| ) |
const |
|
pure virtual |
Get value mask.
The bits of a value mask tell if a user value was written in the XAC compute program. If the bit is 0, then the value with value index equivalent to the bit number is not valid.
- Returns
- Pointer to mask data with resolution dependent layout (x-major), or 0 if buffer is not valid.
◆ get_value_size()
virtual mi::Uint32 nv::index::ICompute_result_buffer_2D::get_value_size |
( |
mi::Uint32 |
i | ) |
const |
|
pure virtual |
◆ get_values()
virtual const void * nv::index::ICompute_result_buffer_2D::get_values |
( |
mi::Uint32 |
value_index | ) |
const |
|
pure virtual |
Get values of given value index.
A value might be invalid, if the XAC compute program did not write to it. To check this, use get_value_masks().
- Parameters
-
[in] | value_index | Index of value ( |
- See also
- get_nb_values()).
- Returns
- Pointer to values with resolution dependent layout (x-major), or 0 if buffer is not valid.
The documentation for this class was generated from the following file: