Package org.lwjgl.vulkan
Class VkGraphicsPipelineCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkGraphicsPipelineCreateInfo,VkGraphicsPipelineCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkGraphicsPipelineCreateInfo.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<VkGraphicsPipelineCreateInfo>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- VkGraphicsPipelineCreateInfo
public static class VkGraphicsPipelineCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkGraphicsPipelineCreateInfo,VkGraphicsPipelineCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkGraphicsPipelineCreateInfo
structs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkGraphicsPipelineCreateInfo.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 byVkGraphicsPipelineCreateInfo.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.
-
stageCount
public int stageCount()
Returns the value of thestageCount
field.
-
pStages
public VkPipelineShaderStageCreateInfo.Buffer pStages()
Returns aVkPipelineShaderStageCreateInfo.Buffer
view of the struct array pointed to by thepStages
field.
-
pVertexInputState
@Nullable public VkPipelineVertexInputStateCreateInfo pVertexInputState()
Returns aVkPipelineVertexInputStateCreateInfo
view of the struct pointed to by thepVertexInputState
field.
-
pInputAssemblyState
@Nullable public VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState()
Returns aVkPipelineInputAssemblyStateCreateInfo
view of the struct pointed to by thepInputAssemblyState
field.
-
pTessellationState
@Nullable public VkPipelineTessellationStateCreateInfo pTessellationState()
Returns aVkPipelineTessellationStateCreateInfo
view of the struct pointed to by thepTessellationState
field.
-
pViewportState
@Nullable public VkPipelineViewportStateCreateInfo pViewportState()
Returns aVkPipelineViewportStateCreateInfo
view of the struct pointed to by thepViewportState
field.
-
pRasterizationState
public VkPipelineRasterizationStateCreateInfo pRasterizationState()
Returns aVkPipelineRasterizationStateCreateInfo
view of the struct pointed to by thepRasterizationState
field.
-
pMultisampleState
@Nullable public VkPipelineMultisampleStateCreateInfo pMultisampleState()
Returns aVkPipelineMultisampleStateCreateInfo
view of the struct pointed to by thepMultisampleState
field.
-
pDepthStencilState
@Nullable public VkPipelineDepthStencilStateCreateInfo pDepthStencilState()
Returns aVkPipelineDepthStencilStateCreateInfo
view of the struct pointed to by thepDepthStencilState
field.
-
pColorBlendState
@Nullable public VkPipelineColorBlendStateCreateInfo pColorBlendState()
Returns aVkPipelineColorBlendStateCreateInfo
view of the struct pointed to by thepColorBlendState
field.
-
pDynamicState
@Nullable public VkPipelineDynamicStateCreateInfo pDynamicState()
Returns aVkPipelineDynamicStateCreateInfo
view of the struct pointed to by thepDynamicState
field.
-
layout
public long layout()
Returns the value of thelayout
field.
-
renderPass
public long renderPass()
Returns the value of therenderPass
field.
-
subpass
public int subpass()
Returns the value of thesubpass
field.
-
basePipelineHandle
public long basePipelineHandle()
Returns the value of thebasePipelineHandle
field.
-
basePipelineIndex
public int basePipelineIndex()
Returns the value of thebasePipelineIndex
field.
-
sType
public VkGraphicsPipelineCreateInfo.Buffer sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkGraphicsPipelineCreateInfo.Buffer flags(int value)
Sets the specified value to theflags
field.
-
pStages
public VkGraphicsPipelineCreateInfo.Buffer pStages(VkPipelineShaderStageCreateInfo.Buffer value)
Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Buffer
to thepStages
field.
-
pVertexInputState
public VkGraphicsPipelineCreateInfo.Buffer pVertexInputState(@Nullable VkPipelineVertexInputStateCreateInfo value)
Sets the address of the specifiedVkPipelineVertexInputStateCreateInfo
to thepVertexInputState
field.
-
pInputAssemblyState
public VkGraphicsPipelineCreateInfo.Buffer pInputAssemblyState(@Nullable VkPipelineInputAssemblyStateCreateInfo value)
Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfo
to thepInputAssemblyState
field.
-
pTessellationState
public VkGraphicsPipelineCreateInfo.Buffer pTessellationState(@Nullable VkPipelineTessellationStateCreateInfo value)
Sets the address of the specifiedVkPipelineTessellationStateCreateInfo
to thepTessellationState
field.
-
pViewportState
public VkGraphicsPipelineCreateInfo.Buffer pViewportState(@Nullable VkPipelineViewportStateCreateInfo value)
Sets the address of the specifiedVkPipelineViewportStateCreateInfo
to thepViewportState
field.
-
pRasterizationState
public VkGraphicsPipelineCreateInfo.Buffer pRasterizationState(VkPipelineRasterizationStateCreateInfo value)
Sets the address of the specifiedVkPipelineRasterizationStateCreateInfo
to thepRasterizationState
field.
-
pMultisampleState
public VkGraphicsPipelineCreateInfo.Buffer pMultisampleState(@Nullable VkPipelineMultisampleStateCreateInfo value)
Sets the address of the specifiedVkPipelineMultisampleStateCreateInfo
to thepMultisampleState
field.
-
pDepthStencilState
public VkGraphicsPipelineCreateInfo.Buffer pDepthStencilState(@Nullable VkPipelineDepthStencilStateCreateInfo value)
Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfo
to thepDepthStencilState
field.
-
pColorBlendState
public VkGraphicsPipelineCreateInfo.Buffer pColorBlendState(@Nullable VkPipelineColorBlendStateCreateInfo value)
Sets the address of the specifiedVkPipelineColorBlendStateCreateInfo
to thepColorBlendState
field.
-
pDynamicState
public VkGraphicsPipelineCreateInfo.Buffer pDynamicState(@Nullable VkPipelineDynamicStateCreateInfo value)
Sets the address of the specifiedVkPipelineDynamicStateCreateInfo
to thepDynamicState
field.
-
layout
public VkGraphicsPipelineCreateInfo.Buffer layout(long value)
Sets the specified value to thelayout
field.
-
renderPass
public VkGraphicsPipelineCreateInfo.Buffer renderPass(long value)
Sets the specified value to therenderPass
field.
-
subpass
public VkGraphicsPipelineCreateInfo.Buffer subpass(int value)
Sets the specified value to thesubpass
field.
-
basePipelineHandle
public VkGraphicsPipelineCreateInfo.Buffer basePipelineHandle(long value)
Sets the specified value to thebasePipelineHandle
field.
-
basePipelineIndex
public VkGraphicsPipelineCreateInfo.Buffer basePipelineIndex(int value)
Sets the specified value to thebasePipelineIndex
field.
-
-