VkGeometryNV(3)

# VkGeometryNV(3) Manual Page

## Name

VkGeometryNV - Structure specifying a geometry in a bottom-level acceleration structure

## C Specification

The `VkGeometryNV` structure is defined as:

    typedef struct VkGeometryNV {
        VkStructureType      sType;
        const void*          pNext;
        VkGeometryTypeNV     geometryType;
        VkGeometryDataNV     geometry;
        VkGeometryFlagsNV    flags;
    } VkGeometryNV;

## Members

- `sType` is the type of this structure.

- `pNext` is `NULL` or a pointer to an extension-specific structure.

- `geometryType` describes which type of geometry this `VkGeometryNV` refers to.

- `geometry` contains the geometry data as described in VkGeometryDataNV.

- `flags` has flags describing options for this geometry.

## Description

Valid Usage (Implicit)

- `sType` must be `VK_STRUCTURE_TYPE_GEOMETRY_NV`

- `pNext` must be `NULL`

- `geometryType` must be a valid VkGeometryTypeNV value

- `geometry` must be a valid VkGeometryDataNV structure

- `flags` must be a valid combination of VkGeometryFlagBitsNV values

## See Also

VkAccelerationStructureInfoNV, VkGeometryDataNV, VkGeometryFlagsNV, VkGeometryTypeNV, VkStructureType

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