Class VkLayerProperties

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkLayerProperties
    extends Struct
    implements NativeResource
    Structure specifying layer properties.

    Member documentation

    • layerName – a null-terminated UTF-8 string specifying the name of the layer. Use this name in the ppEnabledLayerNames array passed in the VkInstanceCreateInfo structure to enable this layer for an instance.
    • specVersion – the Vulkan version the layer was written to, encoded as described in the API Version Numbers and Semantics section.
    • implementationVersion – the version of this layer. It is an integer, increasing with backward compatible changes.
    • description – a null-terminated UTF-8 string providing additional details that can be used by the application to identify the layer.


     struct VkLayerProperties {
         char layerName[VK_MAX_EXTENSION_NAME_SIZE];
         uint32_t specVersion;
         uint32_t implementationVersion;
         char description[VK_MAX_DESCRIPTION_SIZE];
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • VkLayerProperties

        public VkLayerProperties​(java.nio.ByteBuffer container)
        Creates a VkLayerProperties instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.