public static class VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineDiscardRectangleStateCreateInfoEXT,VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer> implements org.lwjgl.system.NativeResource
VkPipelineDiscardRectangleStateCreateInfoEXT structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
discardRectangleCount()
Returns the value of the
discardRectangleCount field. |
VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer |
discardRectangleCount(int value)
Sets the specified value to the
discardRectangleCount field. |
int |
discardRectangleMode()
Returns the value of the
discardRectangleMode field. |
VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer |
discardRectangleMode(int value)
Sets the specified value to the
discardRectangleMode field. |
int |
flags()
Returns the value of the
flags field. |
VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
VkRect2D.Buffer |
pDiscardRectangles()
Returns a
VkRect2D.Buffer view of the struct array pointed to by the pDiscardRectangles field. |
VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer |
pDiscardRectangles(VkRect2D.Buffer value)
Sets the address of the specified
VkRect2D.Buffer to the pDiscardRectangles field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
sType()
Returns the value of the
sType field. |
VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkPipelineDiscardRectangleStateCreateInfoEXT.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 VkPipelineDiscardRectangleStateCreateInfoEXT.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int sType()
sType field.public long pNext()
pNext field.public int flags()
flags field.public int discardRectangleMode()
discardRectangleMode field.public int discardRectangleCount()
discardRectangleCount field.@Nullable public VkRect2D.Buffer pDiscardRectangles()
VkRect2D.Buffer view of the struct array pointed to by the pDiscardRectangles field.public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer sType(int value)
sType field.public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer pNext(long value)
pNext field.public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer flags(int value)
flags field.public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer discardRectangleMode(int value)
discardRectangleMode field.public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer discardRectangleCount(int value)
discardRectangleCount field.public VkPipelineDiscardRectangleStateCreateInfoEXT.Buffer pDiscardRectangles(@Nullable VkRect2D.Buffer value)
VkRect2D.Buffer to the pDiscardRectangles field.Copyright LWJGL. All Rights Reserved. License terms.