NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
OptixDisplacementMicromapUsageCount Struct Reference

#include <optix_types.h>

Public Attributes

unsigned int count
 
unsigned int subdivisionLevel
 
OptixDisplacementMicromapFormat format
 

Detailed Description

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

Member Data Documentation

 count

unsigned int OptixDisplacementMicromapUsageCount::count

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

 format

OptixDisplacementMicromapFormat OptixDisplacementMicromapUsageCount::format

Displacement micromaps format.

 subdivisionLevel

unsigned int OptixDisplacementMicromapUsageCount::subdivisionLevel

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