Enum

VkDefaultVertexAttributeValueKHR

Values returned for unbound vertex attributes

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

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;
  • 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).