Class VkPhysicalDevice16BitStorageFeatures

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Direct Known Subclasses:
    VkPhysicalDevice16BitStorageFeaturesKHR

    public class VkPhysicalDevice16BitStorageFeatures
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure describing features supported by VK_KHR_16bit_storage.
    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • storageBuffer16BitAccess – specifies whether objects in the StorageBuffer or PhysicalStorageBufferEXT storage class with the Block decoration can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StorageBuffer16BitAccess capability.
    • uniformAndStorageBuffer16BitAccess – specifies whether objects in the Uniform storage class with the Block decoration and in the StorageBuffer or PhysicalStorageBufferEXT storage class with the same decoration can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the UniformAndStorageBuffer16BitAccess capability.
    • storagePushConstant16 – specifies whether objects in the PushConstant storage class can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StoragePushConstant16 capability.
    • storageInputOutput16 – specifies whether objects in the Input and Output storage classes can have 16-bit integer and 16-bit floating-point members. If this feature is not enabled, 16-bit integer or 16-bit floating-point members must not be used in such objects. This also specifies whether shader modules can declare the StorageInputOutput16 capability.

    Layout

    
     struct VkPhysicalDevice16BitStorageFeatures {
         VkStructureType sType;
         void * pNext;
         VkBool32 storageBuffer16BitAccess;
         VkBool32 uniformAndStorageBuffer16BitAccess;
         VkBool32 storagePushConstant16;
         VkBool32 storageInputOutput16;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, STORAGEBUFFER16BITACCESS, UNIFORMANDSTORAGEBUFFER16BITACCESS, STORAGEPUSHCONSTANT16, STORAGEINPUTOUTPUT16

        The struct member offsets.
    • Constructor Detail

      • VkPhysicalDevice16BitStorageFeatures

        public VkPhysicalDevice16BitStorageFeatures​(java.nio.ByteBuffer container)
        Creates a VkPhysicalDevice16BitStorageFeatures 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.