#include <optix_types.h>
Public Attributes | |
unsigned int | flags |
CUdeviceptr | inputBuffer |
CUdeviceptr | perMicromapDescBuffer |
unsigned int | perMicromapDescStrideInBytes |
unsigned int | numMicromapHistogramEntries |
const OptixOpacityMicromapHistogramEntry * | micromapHistogramEntries |
Inputs to opacity micromap array construction.
unsigned int OptixOpacityMicromapArrayBuildInput::flags |
Applies to all opacity micromaps in array.
CUdeviceptr OptixOpacityMicromapArrayBuildInput::inputBuffer |
128B aligned base pointer for raw opacity micromap input data.
const OptixOpacityMicromapHistogramEntry* OptixOpacityMicromapArrayBuildInput::micromapHistogramEntries |
Histogram over opacity micromaps of input format and subdivision combinations. Counts of entries with equal format and subdivision combination (duplicates) are added together.
unsigned int OptixOpacityMicromapArrayBuildInput::numMicromapHistogramEntries |
Number of OptixOpacityMicromapHistogramEntry.
CUdeviceptr OptixOpacityMicromapArrayBuildInput::perMicromapDescBuffer |
One OptixOpacityMicromapDesc entry per opacity micromap. This device pointer must be a multiple of OPTIX_OPACITY_MICROMAP_DESC_BYTE_ALIGNMENT.
unsigned int OptixOpacityMicromapArrayBuildInput::perMicromapDescStrideInBytes |
Stride between OptixOpacityMicromapDescs in perOmDescBuffer. If set to zero, the opacity micromap descriptors are assumed to be tightly packed and the stride is assumed to be sizeof( OptixOpacityMicromapDesc ). This stride must be a multiple of OPTIX_OPACITY_MICROMAP_DESC_BYTE_ALIGNMENT.