Class VkPhysicalDevice8BitStorageFeatures

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDevice8BitStorageFeatures>
org.lwjgl.vulkan.VkPhysicalDevice8BitStorageFeatures
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkPhysicalDevice8BitStorageFeaturesKHR

public class VkPhysicalDevice8BitStorageFeatures extends org.lwjgl.system.Struct<VkPhysicalDevice8BitStorageFeatures> implements org.lwjgl.system.NativeResource
Structure describing features supported by VK_KHR_8bit_storage.
Description

If the VkPhysicalDevice8BitStorageFeatures structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDevice8BitStorageFeatures can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

Layout


 struct VkPhysicalDevice8BitStorageFeatures {
     VkStructureType sType();
     void * pNext();
     VkBool32 storageBuffer8BitAccess();
     VkBool32 uniformAndStorageBuffer8BitAccess();
     VkBool32 storagePushConstant8();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • STORAGEBUFFER8BITACCESS

      public static final int STORAGEBUFFER8BITACCESS
      The struct member offsets.
    • UNIFORMANDSTORAGEBUFFER8BITACCESS

      public static final int UNIFORMANDSTORAGEBUFFER8BITACCESS
      The struct member offsets.
    • STORAGEPUSHCONSTANT8

      public static final int STORAGEPUSHCONSTANT8
      The struct member offsets.
  • Constructor Details

    • VkPhysicalDevice8BitStorageFeatures

      public VkPhysicalDevice8BitStorageFeatures(ByteBuffer container)
      Creates a VkPhysicalDevice8BitStorageFeatures 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.

  • Method Details