Package org.lwjgl.vulkan
Class VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPipelineDiscardRectangleStateCreateInfoEXT,VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer>
-
- org.lwjgl.vulkan.VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkPipelineDiscardRectangleStateCreateInfoEXT>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkPipelineDiscardRectangleStateCreateInfoEXT
public static class VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineDiscardRectangleStateCreateInfoEXT,VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPipelineDiscardRectangleStateCreateInfoEXTstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdiscardRectangleCount()Returns the value of thediscardRectangleCountfield.VkPipelineDiscardRectangleStateCreateInfoEXT.BufferdiscardRectangleCount(int value)Sets the specified value to thediscardRectangleCountfield.intdiscardRectangleMode()Returns the value of thediscardRectangleModefield.VkPipelineDiscardRectangleStateCreateInfoEXT.BufferdiscardRectangleMode(int value)Sets the specified value to thediscardRectangleModefield.intflags()Returns the value of theflagsfield.VkPipelineDiscardRectangleStateCreateInfoEXT.Bufferflags(int value)Sets the specified value to theflagsfield.VkRect2D.BufferpDiscardRectangles()Returns aVkRect2D.Bufferview of the struct array pointed to by thepDiscardRectanglesfield.VkPipelineDiscardRectangleStateCreateInfoEXT.BufferpDiscardRectangles(VkRect2D.Buffer value)Sets the address of the specifiedVkRect2D.Bufferto thepDiscardRectanglesfield.longpNext()Returns the value of thepNextfield.VkPipelineDiscardRectangleStateCreateInfoEXT.BufferpNext(long value)Sets the specified value to thepNextfield.intsType()Returns the value of thesTypefield.VkPipelineDiscardRectangleStateCreateInfoEXT.BuffersType(int value)Sets the specified value to thesTypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPipelineDiscardRectangleStateCreateInfoEXT.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 byVkPipelineDiscardRectangleStateCreateInfoEXT.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 thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
discardRectangleMode
public int discardRectangleMode()
Returns the value of thediscardRectangleModefield.
-
discardRectangleCount
public int discardRectangleCount()
Returns the value of thediscardRectangleCountfield.
-
pDiscardRectangles
@Nullable public VkRect2D.Buffer pDiscardRectangles()
Returns aVkRect2D.Bufferview of the struct array pointed to by thepDiscardRectanglesfield.
-
sType
public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
discardRectangleMode
public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer discardRectangleMode(int value)
Sets the specified value to thediscardRectangleModefield.
-
discardRectangleCount
public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer discardRectangleCount(int value)
Sets the specified value to thediscardRectangleCountfield.
-
pDiscardRectangles
public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer pDiscardRectangles(@Nullable VkRect2D.Buffer value)
Sets the address of the specifiedVkRect2D.Bufferto thepDiscardRectanglesfield.
-
-