VkOpacityMicromapFormatEXT(3)

# VkOpacityMicromapFormatEXT(3) Manual Page

## Name

VkOpacityMicromapFormatEXT - Format enum for opacity micromaps

Loading… please wait.

## C Specification

Formats which can be set in VkMicromapUsageEXT::`format` and VkMicromapTriangleEXT::`format` for micromap builds, are:

    // Provided by VK_EXT_opacity_micromap
    typedef enum VkOpacityMicromapFormatEXT {
        VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT = 1,
        VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT = 2,
    } VkOpacityMicromapFormatEXT;

## Description

- `VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT` indicates that the given micromap format has one bit per subtriangle encoding either fully opaque or fully transparent.

- `VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT` indicates that the given micromap format has two bits per subtriangle encoding four modes which can be interpreted as described in ray traversal.

| Note For compactness, these values are stored as 16-bit in some structures.

## See Also

VK_EXT_opacity_micromap

## Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0