public static class VkRenderPassBeginInfo.Buffer extends org.lwjgl.system.StructBuffer<VkRenderPassBeginInfo,VkRenderPassBeginInfo.Buffer> implements org.lwjgl.system.NativeResource
VkRenderPassBeginInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkRenderPassBeginInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
clearValueCount()
Returns the value of the
clearValueCount field. |
long |
framebuffer()
Returns the value of the
framebuffer field. |
VkRenderPassBeginInfo.Buffer |
framebuffer(long value)
Sets the specified value to the
framebuffer field. |
VkClearValue.Buffer |
pClearValues()
Returns a
VkClearValue.Buffer view of the struct array pointed to by the pClearValues field. |
VkRenderPassBeginInfo.Buffer |
pClearValues(VkClearValue.Buffer value)
Sets the address of the specified
VkClearValue.Buffer to the pClearValues field. |
long |
pNext()
Returns the value of the
pNext field. |
VkRenderPassBeginInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
VkRect2D |
renderArea()
Returns a
VkRect2D view of the renderArea field. |
VkRenderPassBeginInfo.Buffer |
renderArea(java.util.function.Consumer<VkRect2D> consumer)
Passes the
renderArea field to the specified Consumer. |
VkRenderPassBeginInfo.Buffer |
renderArea(VkRect2D value)
Copies the specified
VkRect2D to the renderArea field. |
long |
renderPass()
Returns the value of the
renderPass field. |
VkRenderPassBeginInfo.Buffer |
renderPass(long value)
Sets the specified value to the
renderPass field. |
int |
sType()
Returns the value of the
sType field. |
VkRenderPassBeginInfo.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)
VkRenderPassBeginInfo.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 VkRenderPassBeginInfo.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 long renderPass()
renderPass field.public long framebuffer()
framebuffer field.public int clearValueCount()
clearValueCount field.@Nullable public VkClearValue.Buffer pClearValues()
VkClearValue.Buffer view of the struct array pointed to by the pClearValues field.public VkRenderPassBeginInfo.Buffer sType(int value)
sType field.public VkRenderPassBeginInfo.Buffer pNext(long value)
pNext field.public VkRenderPassBeginInfo.Buffer renderPass(long value)
renderPass field.public VkRenderPassBeginInfo.Buffer framebuffer(long value)
framebuffer field.public VkRenderPassBeginInfo.Buffer renderArea(VkRect2D value)
VkRect2D to the renderArea field.public VkRenderPassBeginInfo.Buffer renderArea(java.util.function.Consumer<VkRect2D> consumer)
renderArea field to the specified Consumer.public VkRenderPassBeginInfo.Buffer pClearValues(@Nullable VkClearValue.Buffer value)
VkClearValue.Buffer to the pClearValues field.Copyright LWJGL. All Rights Reserved. License terms.