Class VkLayerProperties

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


    public class VkLayerProperties
    extends Struct
    Khronos Reference Page
    Vulkan Specification

    Contains information about an instance layer.

    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
    • implementationVersion – the version of this layer
    • description – a null-terminated UTF-8 string providing additional details that can be used by the application to identify the layer

    Layout

    struct VkLayerProperties {
        char[256] layerName;
        uint32_t specVersion;
        uint32_t implementationVersion;
        char[256] description;
    }
    • Field Detail

      • SIZEOF

        public static final int SIZEOF
        The struct size in bytes.
    • 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.