VkGeometryTypeKHR(3)

# VkGeometryTypeKHR(3) Manual Page

## Name

VkGeometryTypeKHR - Enum specifying which type of geometry is provided

## C Specification

Geometry types are specified by VkGeometryTypeKHR, which takes values:

    // Provided by VK_KHR_acceleration_structure
    typedef enum VkGeometryTypeKHR {
        VK_GEOMETRY_TYPE_TRIANGLES_KHR = 0,
        VK_GEOMETRY_TYPE_AABBS_KHR = 1,
        VK_GEOMETRY_TYPE_INSTANCES_KHR = 2,
      // Provided by VK_NV_ray_tracing_linear_swept_spheres
        VK_GEOMETRY_TYPE_SPHERES_NV = 1000429004,
      // Provided by VK_NV_ray_tracing_linear_swept_spheres
        VK_GEOMETRY_TYPE_LINEAR_SWEPT_SPHERES_NV = 1000429005,
    #ifdef VK_ENABLE_BETA_EXTENSIONS
      // Provided by VK_AMDX_dense_geometry_format
        VK_GEOMETRY_TYPE_DENSE_GEOMETRY_FORMAT_TRIANGLES_AMDX = 1000478000,
    #endif
      // Provided by VK_KHR_opacity_micromap
        VK_GEOMETRY_TYPE_MICROMAP_KHR = 1000623000,
      // Provided by VK_NV_ray_tracing
        VK_GEOMETRY_TYPE_TRIANGLES_NV = VK_GEOMETRY_TYPE_TRIANGLES_KHR,
      // Provided by VK_NV_ray_tracing
        VK_GEOMETRY_TYPE_AABBS_NV = VK_GEOMETRY_TYPE_AABBS_KHR,
    } VkGeometryTypeKHR;

    // Provided by VK_NV_ray_tracing
    // Equivalent to VkGeometryTypeKHR
    typedef VkGeometryTypeKHR VkGeometryTypeNV;

## Description

- VK_GEOMETRY_TYPE_TRIANGLES_KHR specifies a geometry type consisting of triangles.

- VK_GEOMETRY_TYPE_AABBS_KHR specifies a geometry type consisting of axis-aligned bounding boxes.

- VK_GEOMETRY_TYPE_INSTANCES_KHR specifies a geometry type consisting of acceleration structure instances.

- VK_GEOMETRY_TYPE_DENSE_GEOMETRY_FORMAT_TRIANGLES_AMDX specifies a geometry type consisting of triangles from compressed data.

- VK_GEOMETRY_TYPE_SPHERES_NV specifies a geometry type consisting of spheres.

- VK_GEOMETRY_TYPE_LINEAR_SWEPT_SPHERES_NV specifies a geometry type consisting of linear swept spheres.

- VK_GEOMETRY_TYPE_MICROMAP_KHR specifies a geometry type consisting of a micromap array.

## See Also

VK_KHR_acceleration_structure, VK_NV_ray_tracing, VkAccelerationStructureGeometryKHR, VkGeometryNV

## 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-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0