Package org.lwjgl.vulkan
Class VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPhysicalDeviceDiscardRectanglePropertiesEXT,VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer>
-
- org.lwjgl.vulkan.VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkPhysicalDeviceDiscardRectanglePropertiesEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkPhysicalDeviceDiscardRectanglePropertiesEXT
public static class VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer extends org.lwjgl.system.StructBuffer<VkPhysicalDeviceDiscardRectanglePropertiesEXT,VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPhysicalDeviceDiscardRectanglePropertiesEXTstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intmaxDiscardRectangles()longpNext()VkPhysicalDeviceDiscardRectanglePropertiesEXT.BufferpNext(long value)Sets the specified value to theVkPhysicalDeviceDiscardRectanglePropertiesEXT.pNext()field.intsType()VkPhysicalDeviceDiscardRectanglePropertiesEXT.BuffersType(int value)Sets the specified value to theVkPhysicalDeviceDiscardRectanglePropertiesEXT.sType()field.VkPhysicalDeviceDiscardRectanglePropertiesEXT.BuffersType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXTvalue to theVkPhysicalDeviceDiscardRectanglePropertiesEXT.sType()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPhysicalDeviceDiscardRectanglePropertiesEXT.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 byVkPhysicalDeviceDiscardRectanglePropertiesEXT.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
VkPhysicalDeviceDiscardRectanglePropertiesEXT.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkPhysicalDeviceDiscardRectanglePropertiesEXT.pNext()field.
-
maxDiscardRectangles
public int maxDiscardRectangles()
- Returns:
- the value of the
VkPhysicalDeviceDiscardRectanglePropertiesEXT.maxDiscardRectangles()field.
-
sType
public VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer sType(int value)
Sets the specified value to theVkPhysicalDeviceDiscardRectanglePropertiesEXT.sType()field.
-
sType$Default
public VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXTvalue to theVkPhysicalDeviceDiscardRectanglePropertiesEXT.sType()field.
-
pNext
public VkPhysicalDeviceDiscardRectanglePropertiesEXT.Buffer pNext(long value)
Sets the specified value to theVkPhysicalDeviceDiscardRectanglePropertiesEXT.pNext()field.
-
-