VkDefaultVertexAttributeValueKHR(3)

# VkDefaultVertexAttributeValueKHR(3) Manual Page

## Name

VkDefaultVertexAttributeValueKHR - Values returned for unbound vertex attributes

Loading… please wait.

## C Specification

The possible values returned by the implementation when the vertex shader reads an unbound vertex attribute are:

    // Provided by VK_KHR_maintenance9
    typedef enum VkDefaultVertexAttributeValueKHR {
        VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ZERO_KHR = 0,
        VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ONE_KHR = 1,
    } VkDefaultVertexAttributeValueKHR;

## Description

- `VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ZERO_KHR` - the value read for an unbound vertex attribute is (0,0,0,0).

- `VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ONE_KHR` - the value read for an unbound vertex attribute is (0,0,0,1).

## See Also

VK_KHR_maintenance9, VkPhysicalDeviceMaintenance9PropertiesKHR

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

SPDX-License-Identifier: CC-BY-4.0