Package org.lwjgl.vulkan
Class VkPhysicalDevice16BitStorageFeatures.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPhysicalDevice16BitStorageFeatures,VkPhysicalDevice16BitStorageFeatures.Buffer>
-
- org.lwjgl.vulkan.VkPhysicalDevice16BitStorageFeatures.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkPhysicalDevice16BitStorageFeatures>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkPhysicalDevice16BitStorageFeaturesKHR.Buffer
- Enclosing class:
- VkPhysicalDevice16BitStorageFeatures
public static class VkPhysicalDevice16BitStorageFeatures.Buffer extends org.lwjgl.system.StructBuffer<VkPhysicalDevice16BitStorageFeatures,VkPhysicalDevice16BitStorageFeatures.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPhysicalDevice16BitStorageFeaturesstructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPhysicalDevice16BitStorageFeatures.Bufferinstance 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 byVkPhysicalDevice16BitStorageFeatures.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 Detail
-
sType
public int sType()
- Returns:
- the value of the
VkPhysicalDevice16BitStorageFeatures.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkPhysicalDevice16BitStorageFeatures.pNext()field.
-
storageBuffer16BitAccess
public boolean storageBuffer16BitAccess()
- Returns:
- the value of the
VkPhysicalDevice16BitStorageFeatures.storageBuffer16BitAccess()field.
-
uniformAndStorageBuffer16BitAccess
public boolean uniformAndStorageBuffer16BitAccess()
- Returns:
- the value of the
VkPhysicalDevice16BitStorageFeatures.uniformAndStorageBuffer16BitAccess()field.
-
storagePushConstant16
public boolean storagePushConstant16()
- Returns:
- the value of the
VkPhysicalDevice16BitStorageFeatures.storagePushConstant16()field.
-
storageInputOutput16
public boolean storageInputOutput16()
- Returns:
- the value of the
VkPhysicalDevice16BitStorageFeatures.storageInputOutput16()field.
-
sType
public VkPhysicalDevice16BitStorageFeatures.Buffer sType(int value)
Sets the specified value to theVkPhysicalDevice16BitStorageFeatures.sType()field.
-
sType$Default
public VkPhysicalDevice16BitStorageFeatures.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURESvalue to theVkPhysicalDevice16BitStorageFeatures.sType()field.
-
pNext
public VkPhysicalDevice16BitStorageFeatures.Buffer pNext(long value)
Sets the specified value to theVkPhysicalDevice16BitStorageFeatures.pNext()field.
-
storageBuffer16BitAccess
public VkPhysicalDevice16BitStorageFeatures.Buffer storageBuffer16BitAccess(boolean value)
Sets the specified value to theVkPhysicalDevice16BitStorageFeatures.storageBuffer16BitAccess()field.
-
uniformAndStorageBuffer16BitAccess
public VkPhysicalDevice16BitStorageFeatures.Buffer uniformAndStorageBuffer16BitAccess(boolean value)
Sets the specified value to theVkPhysicalDevice16BitStorageFeatures.uniformAndStorageBuffer16BitAccess()field.
-
storagePushConstant16
public VkPhysicalDevice16BitStorageFeatures.Buffer storagePushConstant16(boolean value)
Sets the specified value to theVkPhysicalDevice16BitStorageFeatures.storagePushConstant16()field.
-
storageInputOutput16
public VkPhysicalDevice16BitStorageFeatures.Buffer storageInputOutput16(boolean value)
Sets the specified value to theVkPhysicalDevice16BitStorageFeatures.storageInputOutput16()field.
-
-