#include <optix_types.h>
Inputs to displacement micromaps array construction.
const OptixDisplacementMicromapHistogramEntry* OptixDisplacementMicromapArrayBuildInput::displacementMicromapHistogramEntries |
Histogram over DMMs for input format and subdivision combinations. Counts of histogram bins with equal format and subdivision combinations are added together.
CUdeviceptr OptixDisplacementMicromapArrayBuildInput::displacementValuesBuffer |
128 byte aligned pointer for displacement micromap raw input data.
OptixDisplacementMicromapFlags OptixDisplacementMicromapArrayBuildInput::flags |
Flags that apply to all displacement micromaps in array.
unsigned int OptixDisplacementMicromapArrayBuildInput::numDisplacementMicromapHistogramEntries |
Number of OptixDisplacementMicromapHistogramEntry entries.
CUdeviceptr OptixDisplacementMicromapArrayBuildInput::perDisplacementMicromapDescBuffer |
Descriptors for interpreting raw input data, one OptixDisplacementMicromapDesc entry required per displacement micromap. This device pointer must be a multiple of OPTIX_DISPLACEMENT_MICROMAP_DESC_BUFFER_BYTE_ALIGNMENT.
unsigned int OptixDisplacementMicromapArrayBuildInput::perDisplacementMicromapDescStrideInBytes |
Stride between OptixDisplacementMicromapDesc in perDisplacementMicromapDescBuffer If set to zero, the displacement micromap descriptors are assumed to be tightly packed and the stride is assumed to be sizeof( OptixDisplacementMicromapDesc ). This stride must be a multiple of OPTIX_DISPLACEMENT_MICROMAP_DESC_BUFFER_BYTE_ALIGNMENT.