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 ofVkPipelineViewportStateCreateInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkPipelineViewportStateCreateInfo.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 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 the
VkPipelineViewportStateCreateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkPipelineViewportStateCreateInfo.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkPipelineViewportStateCreateInfo.flags()field.
-
viewportCount
public int viewportCount()
- Returns:
- the value of the
VkPipelineViewportStateCreateInfo.viewportCount()field.
-
pViewports
@Nullable public VkViewport.Buffer pViewports()
- Returns:
- a
VkViewport.Bufferview of the struct array pointed to by theVkPipelineViewportStateCreateInfo.pViewports()field.
-
scissorCount
public int scissorCount()
- Returns:
- the value of the
VkPipelineViewportStateCreateInfo.scissorCount()field.
-
pScissors
@Nullable public VkRect2D.Buffer pScissors()
- Returns:
- a
VkRect2D.Bufferview of the struct array pointed to by theVkPipelineViewportStateCreateInfo.pScissors()field.
-
sType
public VkPipelineViewportStateCreateInfo.Buffer sType(int value)
Sets the specified value to theVkPipelineViewportStateCreateInfo.sType()field.
-
sType$Default
public VkPipelineViewportStateCreateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFOvalue to theVkPipelineViewportStateCreateInfo.sType()field.
-
pNext
public VkPipelineViewportStateCreateInfo.Buffer pNext(long value)
Sets the specified value to theVkPipelineViewportStateCreateInfo.pNext()field.
-
pNext
public VkPipelineViewportStateCreateInfo.Buffer pNext(VkPipelineViewportCoarseSampleOrderStateCreateInfoNV value)
Prepends the specifiedVkPipelineViewportCoarseSampleOrderStateCreateInfoNVvalue to thepNextchain.
-
pNext
public VkPipelineViewportStateCreateInfo.Buffer pNext(VkPipelineViewportDepthClipControlCreateInfoEXT value)
Prepends the specifiedVkPipelineViewportDepthClipControlCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkPipelineViewportStateCreateInfo.Buffer pNext(VkPipelineViewportExclusiveScissorStateCreateInfoNV value)
Prepends the specifiedVkPipelineViewportExclusiveScissorStateCreateInfoNVvalue to thepNextchain.
-
pNext
public VkPipelineViewportStateCreateInfo.Buffer pNext(VkPipelineViewportShadingRateImageStateCreateInfoNV value)
Prepends the specifiedVkPipelineViewportShadingRateImageStateCreateInfoNVvalue to thepNextchain.
-
pNext
public VkPipelineViewportStateCreateInfo.Buffer pNext(VkPipelineViewportSwizzleStateCreateInfoNV value)
Prepends the specifiedVkPipelineViewportSwizzleStateCreateInfoNVvalue to thepNextchain.
-
pNext
public VkPipelineViewportStateCreateInfo.Buffer pNext(VkPipelineViewportWScalingStateCreateInfoNV value)
Prepends the specifiedVkPipelineViewportWScalingStateCreateInfoNVvalue to thepNextchain.
-
flags
public VkPipelineViewportStateCreateInfo.Buffer flags(int value)
Sets the specified value to theVkPipelineViewportStateCreateInfo.flags()field.
-
viewportCount
public VkPipelineViewportStateCreateInfo.Buffer viewportCount(int value)
Sets the specified value to theVkPipelineViewportStateCreateInfo.viewportCount()field.
-
pViewports
public VkPipelineViewportStateCreateInfo.Buffer pViewports(@Nullable VkViewport.Buffer value)
Sets the address of the specifiedVkViewport.Bufferto theVkPipelineViewportStateCreateInfo.pViewports()field.
-
scissorCount
public VkPipelineViewportStateCreateInfo.Buffer scissorCount(int value)
Sets the specified value to theVkPipelineViewportStateCreateInfo.scissorCount()field.
-
pScissors
public VkPipelineViewportStateCreateInfo.Buffer pScissors(@Nullable VkRect2D.Buffer value)
Sets the address of the specifiedVkRect2D.Bufferto theVkPipelineViewportStateCreateInfo.pScissors()field.
-
-