NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
OptixOpacityMicromapArrayBuildInput Struct Reference

#include <optix_types.h>

Public Attributes

unsigned int flags
 
CUdeviceptr inputBuffer
 
CUdeviceptr perMicromapDescBuffer
 
unsigned int perMicromapDescStrideInBytes
 
unsigned int numMicromapHistogramEntries
 
const OptixOpacityMicromapHistogramEntrymicromapHistogramEntries
 

Detailed Description

Inputs to opacity micromap array construction.

Member Data Documentation

 flags

unsigned int OptixOpacityMicromapArrayBuildInput::flags

Applies to all opacity micromaps in array.

 inputBuffer

CUdeviceptr OptixOpacityMicromapArrayBuildInput::inputBuffer

128B aligned base pointer for raw opacity micromap input data.

 micromapHistogramEntries

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.

 numMicromapHistogramEntries

unsigned int OptixOpacityMicromapArrayBuildInput::numMicromapHistogramEntries

 perMicromapDescBuffer

CUdeviceptr OptixOpacityMicromapArrayBuildInput::perMicromapDescBuffer

One OptixOpacityMicromapDesc entry per opacity micromap. This device pointer must be a multiple of OPTIX_OPACITY_MICROMAP_DESC_BYTE_ALIGNMENT.

 perMicromapDescStrideInBytes

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.