Package org.lwjgl.vulkan
Class VkPipelineViewportStateCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkPipelineViewportStateCreateInfo,VkPipelineViewportStateCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkPipelineViewportStateCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkPipelineViewportStateCreateInfo>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkPipelineViewportStateCreateInfo
public static class VkPipelineViewportStateCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkPipelineViewportStateCreateInfo,VkPipelineViewportStateCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkPipelineViewportStateCreateInfo
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
flags()
Returns the value of theflags
field.VkPipelineViewportStateCreateInfo.Buffer
flags(int value)
Sets the specified value to theflags
field.long
pNext()
Returns the value of thepNext
field.VkPipelineViewportStateCreateInfo.Buffer
pNext(long value)
Sets the specified value to thepNext
field.VkRect2D.Buffer
pScissors()
Returns aVkRect2D.Buffer
view of the struct array pointed to by thepScissors
field.VkPipelineViewportStateCreateInfo.Buffer
pScissors(VkRect2D.Buffer value)
Sets the address of the specifiedVkRect2D.Buffer
to thepScissors
field.VkViewport.Buffer
pViewports()
Returns aVkViewport.Buffer
view of the struct array pointed to by thepViewports
field.VkPipelineViewportStateCreateInfo.Buffer
pViewports(VkViewport.Buffer value)
Sets the address of the specifiedVkViewport.Buffer
to thepViewports
field.int
scissorCount()
Returns the value of thescissorCount
field.VkPipelineViewportStateCreateInfo.Buffer
scissorCount(int value)
Sets the specified value to thescissorCount
field.int
sType()
Returns the value of thesType
field.VkPipelineViewportStateCreateInfo.Buffer
sType(int value)
Sets the specified value to thesType
field.int
viewportCount()
Returns the value of theviewportCount
field.VkPipelineViewportStateCreateInfo.Buffer
viewportCount(int value)
Sets the specified value to theviewportCount
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPipelineViewportStateCreateInfo.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 byVkPipelineViewportStateCreateInfo.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 thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
viewportCount
public int viewportCount()
Returns the value of theviewportCount
field.
-
pViewports
@Nullable public VkViewport.Buffer pViewports()
Returns aVkViewport.Buffer
view of the struct array pointed to by thepViewports
field.
-
scissorCount
public int scissorCount()
Returns the value of thescissorCount
field.
-
pScissors
@Nullable public VkRect2D.Buffer pScissors()
Returns aVkRect2D.Buffer
view of the struct array pointed to by thepScissors
field.
-
sType
public VkPipelineViewportStateCreateInfo.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkPipelineViewportStateCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkPipelineViewportStateCreateInfo.Buffer flags(int value)
Sets the specified value to theflags
field.
-
viewportCount
public VkPipelineViewportStateCreateInfo.Buffer viewportCount(int value)
Sets the specified value to theviewportCount
field.
-
pViewports
public VkPipelineViewportStateCreateInfo.Buffer pViewports(@Nullable VkViewport.Buffer value)
Sets the address of the specifiedVkViewport.Buffer
to thepViewports
field.
-
scissorCount
public VkPipelineViewportStateCreateInfo.Buffer scissorCount(int value)
Sets the specified value to thescissorCount
field.
-
pScissors
public VkPipelineViewportStateCreateInfo.Buffer pScissors(@Nullable VkRect2D.Buffer value)
Sets the address of the specifiedVkRect2D.Buffer
to thepScissors
field.
-
-