public static class VkPipelineViewportStateCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineViewportStateCreateInfo,VkPipelineViewportStateCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
VkPipelineViewportStateCreateInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
VkPipelineViewportStateCreateInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
flags()
Returns the value of the
flags field. |
VkPipelineViewportStateCreateInfo.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineViewportStateCreateInfo.Buffer |
pNext(long value)
Sets the specified value to the
pNext field. |
VkRect2D.Buffer |
pScissors()
Returns a
VkRect2D.Buffer view of the struct array pointed to by the pScissors field. |
VkPipelineViewportStateCreateInfo.Buffer |
pScissors(VkRect2D.Buffer value)
Sets the address of the specified
VkRect2D.Buffer to the pScissors field. |
VkViewport.Buffer |
pViewports()
Returns a
VkViewport.Buffer view of the struct array pointed to by the pViewports field. |
VkPipelineViewportStateCreateInfo.Buffer |
pViewports(VkViewport.Buffer value)
Sets the address of the specified
VkViewport.Buffer to the pViewports field. |
int |
scissorCount()
Returns the value of the
scissorCount field. |
VkPipelineViewportStateCreateInfo.Buffer |
scissorCount(int value)
Sets the specified value to the
scissorCount field. |
int |
sType()
Returns the value of the
sType field. |
VkPipelineViewportStateCreateInfo.Buffer |
sType(int value)
Sets the specified value to the
sType field. |
int |
viewportCount()
Returns the value of the
viewportCount field. |
VkPipelineViewportStateCreateInfo.Buffer |
viewportCount(int value)
Sets the specified value to the
viewportCount field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
VkPipelineViewportStateCreateInfo.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 VkPipelineViewportStateCreateInfo.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 viewportCount()
viewportCount field.@Nullable public VkViewport.Buffer pViewports()
VkViewport.Buffer view of the struct array pointed to by the pViewports field.public int scissorCount()
scissorCount field.@Nullable public VkRect2D.Buffer pScissors()
VkRect2D.Buffer view of the struct array pointed to by the pScissors field.public VkPipelineViewportStateCreateInfo.Buffer sType(int value)
sType field.public VkPipelineViewportStateCreateInfo.Buffer pNext(long value)
pNext field.public VkPipelineViewportStateCreateInfo.Buffer flags(int value)
flags field.public VkPipelineViewportStateCreateInfo.Buffer viewportCount(int value)
viewportCount field.public VkPipelineViewportStateCreateInfo.Buffer pViewports(@Nullable VkViewport.Buffer value)
VkViewport.Buffer to the pViewports field.public VkPipelineViewportStateCreateInfo.Buffer scissorCount(int value)
scissorCount field.public VkPipelineViewportStateCreateInfo.Buffer pScissors(@Nullable VkRect2D.Buffer value)
VkRect2D.Buffer to the pScissors field.Copyright LWJGL. All Rights Reserved. License terms.