NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
OptixOpacityMicromapUsageCount Struct Reference

#include <optix_types.h>

Public Attributes

unsigned int count
 
unsigned int subdivisionLevel
 
OptixOpacityMicromapFormat format
 

Detailed Description

Opacity micromap usage count for acceleration structure builds. Specifies how many opacity micromaps of a specific type are referenced by triangles when building the AS. Note that while this is similar to OptixOpacityMicromapHistogramEntry, the usage count specifies how many opacity micromaps of a specific type are referenced by triangles in the AS.

Member Data Documentation

 count

unsigned int OptixOpacityMicromapUsageCount::count

Number of opacity micromaps with this format and subdivision level referenced by triangles in the corresponding triangle build input at AS build time.

 format

OptixOpacityMicromapFormat OptixOpacityMicromapUsageCount::format

opacity micromap format.

 subdivisionLevel

unsigned int OptixOpacityMicromapUsageCount::subdivisionLevel

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