Class VkPhysicalDevice16BitStorageFeatures.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkPhysicalDevice16BitStorageFeatures>, NativeResource, Pointer
Direct Known Subclasses:
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
Enclosing class:
VkPhysicalDevice16BitStorageFeatures

public static class VkPhysicalDevice16BitStorageFeatures.Buffer extends StructBuffer<VkPhysicalDevice16BitStorageFeatures,VkPhysicalDevice16BitStorageFeatures.Buffer> implements NativeResource
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkPhysicalDevice16BitStorageFeatures.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkPhysicalDevice16BitStorageFeatures.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • storageBuffer16BitAccess

      public boolean storageBuffer16BitAccess()
      Returns:
      the value of the storageBuffer16BitAccess field.
    • uniformAndStorageBuffer16BitAccess

      public boolean uniformAndStorageBuffer16BitAccess()
      Returns:
      the value of the uniformAndStorageBuffer16BitAccess field.
    • storagePushConstant16

      public boolean storagePushConstant16()
      Returns:
      the value of the storagePushConstant16 field.
    • storageInputOutput16

      public boolean storageInputOutput16()
      Returns:
      the value of the storageInputOutput16 field.
    • sType

      Sets the specified value to the sType field.
    • sType$Default

    • pNext

      Sets the specified value to the pNext field.
    • storageBuffer16BitAccess

      public VkPhysicalDevice16BitStorageFeatures.Buffer storageBuffer16BitAccess(boolean value)
      Sets the specified value to the storageBuffer16BitAccess field.
    • uniformAndStorageBuffer16BitAccess

      public VkPhysicalDevice16BitStorageFeatures.Buffer uniformAndStorageBuffer16BitAccess(boolean value)
      Sets the specified value to the uniformAndStorageBuffer16BitAccess field.
    • storagePushConstant16

      public VkPhysicalDevice16BitStorageFeatures.Buffer storagePushConstant16(boolean value)
      Sets the specified value to the storagePushConstant16 field.
    • storageInputOutput16

      public VkPhysicalDevice16BitStorageFeatures.Buffer storageInputOutput16(boolean value)
      Sets the specified value to the storageInputOutput16 field.