# 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:

    typedef enum VkGeometryTypeKHR {
        VK_GEOMETRY_TYPE_TRIANGLES_KHR = 0,
        VK_GEOMETRY_TYPE_AABBS_KHR = 1,
        VK_GEOMETRY_TYPE_INSTANCES_KHR = 1000150000,
        VK_GEOMETRY_TYPE_TRIANGLES_NV = VK_GEOMETRY_TYPE_TRIANGLES_KHR,
        VK_GEOMETRY_TYPE_AABBS_NV = VK_GEOMETRY_TYPE_AABBS_KHR,
        VK_GEOMETRY_TYPE_MAX_ENUM_KHR = 0x7FFFFFFF
    } VkGeometryTypeKHR;

or the equivalent

    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.

## See Also

VkAccelerationStructureCreateGeometryTypeInfoKHR, 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 (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.