NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
OptixDisplacementMicromapHistogramEntry Struct Reference

#include <optix_types.h>

Public Attributes

unsigned int count
 
unsigned int subdivisionLevel
 
OptixDisplacementMicromapFormat format
 

Detailed Description

Displacement micromap histogram entry. Specifies how many displacement micromaps of a specific type are input to the displacement micromap array build. Note that while this is similar to OptixDisplacementMicromapUsageCount, the histogram entry specifies how many displacement micromaps of a specific type are combined into a displacement micromap array.

Member Data Documentation

 count

unsigned int OptixDisplacementMicromapHistogramEntry::count

Number of displacement micromaps with the format and subdivision level that are input to the displacement micromap array build.

 format

OptixDisplacementMicromapFormat OptixDisplacementMicromapHistogramEntry::format

Displacement micromap format.

 subdivisionLevel

unsigned int OptixDisplacementMicromapHistogramEntry::subdivisionLevel

Number of micro-triangles is 4^level. Valid levels are [0, 5].