Class KHRUniformBufferStandardLayout

java.lang.Object
org.lwjgl.vulkan.KHRUniformBufferStandardLayout

public final class KHRUniformBufferStandardLayout extends Object
This extension enables tighter array and struct packing to be used with uniform buffers.

It modifies the alignment rules for uniform buffers, allowing for tighter packing of arrays and structures. This allows, for example, the std430 layout, as defined in GLSL to be supported in uniform buffers.

Promotion to Vulkan 1.2

All functionality in this extension is included in core Vulkan 1.2, with the KHR suffix omitted. The original type, enum, and command names are still available as aliases of the core functionality.

Name String
VK_KHR_uniform_buffer_standard_layout
Extension Type
Device extension
Registered Extension Number
254
Revision
1
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2 or Version 1.1
Deprecation State
Contact
Other Extension Metadata
Last Modified Date
2019-01-25
Contributors
  • Graeme Leese, Broadcom
  • Jeff Bolz, NVIDIA
  • Tobias Hector, AMD
  • Faith Ekstrand, Intel
  • Neil Henning, AMD
  • Field Details

    • VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_SPEC_VERSION

      public static final int VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_SPEC_VERSION
      The extension specification version.
      See Also:
    • VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_EXTENSION_NAME

      public static final String VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_EXTENSION_NAME
      The extension name.
      See Also:
    • VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR

      public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR
      Extends VkStructureType.
      See Also: