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.
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.
VK_KHR_uniform_buffer_standard_layoutVK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| private |
| VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_EXTENSION_NAME The extension name. | |
| VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR Extends | |
| KHRUniformBufferStandardLayout | back to summary |
|---|---|
| private KHRUniformBufferStandardLayout() | |