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 ofVkGraphicsPipelineCreateInfostructs.
-
-
Method Summary
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkGraphicsPipelineCreateInfo.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 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 the
VkGraphicsPipelineCreateInfo.sType()field.
-
pNext
public long pNext()
- Returns:
- the value of the
VkGraphicsPipelineCreateInfo.pNext()field.
-
flags
public int flags()
- Returns:
- the value of the
VkGraphicsPipelineCreateInfo.flags()field.
-
stageCount
public int stageCount()
- Returns:
- the value of the
VkGraphicsPipelineCreateInfo.stageCount()field.
-
pStages
public VkPipelineShaderStageCreateInfo.Buffer pStages()
- Returns:
- a
VkPipelineShaderStageCreateInfo.Bufferview of the struct array pointed to by theVkGraphicsPipelineCreateInfo.pStages()field.
-
pVertexInputState
@Nullable public VkPipelineVertexInputStateCreateInfo pVertexInputState()
- Returns:
- a
VkPipelineVertexInputStateCreateInfoview of the struct pointed to by theVkGraphicsPipelineCreateInfo.pVertexInputState()field.
-
pInputAssemblyState
@Nullable public VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState()
- Returns:
- a
VkPipelineInputAssemblyStateCreateInfoview of the struct pointed to by theVkGraphicsPipelineCreateInfo.pInputAssemblyState()field.
-
pTessellationState
@Nullable public VkPipelineTessellationStateCreateInfo pTessellationState()
- Returns:
- a
VkPipelineTessellationStateCreateInfoview of the struct pointed to by theVkGraphicsPipelineCreateInfo.pTessellationState()field.
-
pViewportState
@Nullable public VkPipelineViewportStateCreateInfo pViewportState()
- Returns:
- a
VkPipelineViewportStateCreateInfoview of the struct pointed to by theVkGraphicsPipelineCreateInfo.pViewportState()field.
-
pRasterizationState
public VkPipelineRasterizationStateCreateInfo pRasterizationState()
- Returns:
- a
VkPipelineRasterizationStateCreateInfoview of the struct pointed to by theVkGraphicsPipelineCreateInfo.pRasterizationState()field.
-
pMultisampleState
@Nullable public VkPipelineMultisampleStateCreateInfo pMultisampleState()
- Returns:
- a
VkPipelineMultisampleStateCreateInfoview of the struct pointed to by theVkGraphicsPipelineCreateInfo.pMultisampleState()field.
-
pDepthStencilState
@Nullable public VkPipelineDepthStencilStateCreateInfo pDepthStencilState()
- Returns:
- a
VkPipelineDepthStencilStateCreateInfoview of the struct pointed to by theVkGraphicsPipelineCreateInfo.pDepthStencilState()field.
-
pColorBlendState
@Nullable public VkPipelineColorBlendStateCreateInfo pColorBlendState()
- Returns:
- a
VkPipelineColorBlendStateCreateInfoview of the struct pointed to by theVkGraphicsPipelineCreateInfo.pColorBlendState()field.
-
pDynamicState
@Nullable public VkPipelineDynamicStateCreateInfo pDynamicState()
- Returns:
- a
VkPipelineDynamicStateCreateInfoview of the struct pointed to by theVkGraphicsPipelineCreateInfo.pDynamicState()field.
-
layout
public long layout()
- Returns:
- the value of the
VkGraphicsPipelineCreateInfo.layout()field.
-
renderPass
public long renderPass()
- Returns:
- the value of the
VkGraphicsPipelineCreateInfo.renderPass()field.
-
subpass
public int subpass()
- Returns:
- the value of the
VkGraphicsPipelineCreateInfo.subpass()field.
-
basePipelineHandle
public long basePipelineHandle()
- Returns:
- the value of the
VkGraphicsPipelineCreateInfo.basePipelineHandle()field.
-
basePipelineIndex
public int basePipelineIndex()
- Returns:
- the value of the
VkGraphicsPipelineCreateInfo.basePipelineIndex()field.
-
sType
public VkGraphicsPipelineCreateInfo.Buffer sType(int value)
Sets the specified value to theVkGraphicsPipelineCreateInfo.sType()field.
-
sType$Default
public VkGraphicsPipelineCreateInfo.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFOvalue to theVkGraphicsPipelineCreateInfo.sType()field.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(long value)
Sets the specified value to theVkGraphicsPipelineCreateInfo.pNext()field.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkAttachmentSampleCountInfoAMD value)
Prepends the specifiedVkAttachmentSampleCountInfoAMDvalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkAttachmentSampleCountInfoNV value)
Prepends the specifiedVkAttachmentSampleCountInfoNVvalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkGraphicsPipelineShaderGroupsCreateInfoNV value)
Prepends the specifiedVkGraphicsPipelineShaderGroupsCreateInfoNVvalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkMultiviewPerViewAttributesInfoNVX value)
Prepends the specifiedVkMultiviewPerViewAttributesInfoNVXvalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineCompilerControlCreateInfoAMD value)
Prepends the specifiedVkPipelineCompilerControlCreateInfoAMDvalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineCreationFeedbackCreateInfo value)
Prepends the specifiedVkPipelineCreationFeedbackCreateInfovalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineCreationFeedbackCreateInfoEXT value)
Prepends the specifiedVkPipelineCreationFeedbackCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineDiscardRectangleStateCreateInfoEXT value)
Prepends the specifiedVkPipelineDiscardRectangleStateCreateInfoEXTvalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineFragmentShadingRateEnumStateCreateInfoNV value)
Prepends the specifiedVkPipelineFragmentShadingRateEnumStateCreateInfoNVvalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineFragmentShadingRateStateCreateInfoKHR value)
Prepends the specifiedVkPipelineFragmentShadingRateStateCreateInfoKHRvalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineRenderingCreateInfo value)
Prepends the specifiedVkPipelineRenderingCreateInfovalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineRenderingCreateInfoKHR value)
Prepends the specifiedVkPipelineRenderingCreateInfoKHRvalue to thepNextchain.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineRepresentativeFragmentTestStateCreateInfoNV value)
Prepends the specifiedVkPipelineRepresentativeFragmentTestStateCreateInfoNVvalue to thepNextchain.
-
flags
public VkGraphicsPipelineCreateInfo.Buffer flags(int value)
Sets the specified value to theVkGraphicsPipelineCreateInfo.flags()field.
-
pStages
public VkGraphicsPipelineCreateInfo.Buffer pStages(VkPipelineShaderStageCreateInfo.Buffer value)
Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Bufferto theVkGraphicsPipelineCreateInfo.pStages()field.
-
pVertexInputState
public VkGraphicsPipelineCreateInfo.Buffer pVertexInputState(@Nullable VkPipelineVertexInputStateCreateInfo value)
Sets the address of the specifiedVkPipelineVertexInputStateCreateInfoto theVkGraphicsPipelineCreateInfo.pVertexInputState()field.
-
pInputAssemblyState
public VkGraphicsPipelineCreateInfo.Buffer pInputAssemblyState(@Nullable VkPipelineInputAssemblyStateCreateInfo value)
Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfoto theVkGraphicsPipelineCreateInfo.pInputAssemblyState()field.
-
pTessellationState
public VkGraphicsPipelineCreateInfo.Buffer pTessellationState(@Nullable VkPipelineTessellationStateCreateInfo value)
Sets the address of the specifiedVkPipelineTessellationStateCreateInfoto theVkGraphicsPipelineCreateInfo.pTessellationState()field.
-
pViewportState
public VkGraphicsPipelineCreateInfo.Buffer pViewportState(@Nullable VkPipelineViewportStateCreateInfo value)
Sets the address of the specifiedVkPipelineViewportStateCreateInfoto theVkGraphicsPipelineCreateInfo.pViewportState()field.
-
pRasterizationState
public VkGraphicsPipelineCreateInfo.Buffer pRasterizationState(VkPipelineRasterizationStateCreateInfo value)
Sets the address of the specifiedVkPipelineRasterizationStateCreateInfoto theVkGraphicsPipelineCreateInfo.pRasterizationState()field.
-
pMultisampleState
public VkGraphicsPipelineCreateInfo.Buffer pMultisampleState(@Nullable VkPipelineMultisampleStateCreateInfo value)
Sets the address of the specifiedVkPipelineMultisampleStateCreateInfoto theVkGraphicsPipelineCreateInfo.pMultisampleState()field.
-
pDepthStencilState
public VkGraphicsPipelineCreateInfo.Buffer pDepthStencilState(@Nullable VkPipelineDepthStencilStateCreateInfo value)
Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfoto theVkGraphicsPipelineCreateInfo.pDepthStencilState()field.
-
pColorBlendState
public VkGraphicsPipelineCreateInfo.Buffer pColorBlendState(@Nullable VkPipelineColorBlendStateCreateInfo value)
Sets the address of the specifiedVkPipelineColorBlendStateCreateInfoto theVkGraphicsPipelineCreateInfo.pColorBlendState()field.
-
pDynamicState
public VkGraphicsPipelineCreateInfo.Buffer pDynamicState(@Nullable VkPipelineDynamicStateCreateInfo value)
Sets the address of the specifiedVkPipelineDynamicStateCreateInfoto theVkGraphicsPipelineCreateInfo.pDynamicState()field.
-
layout
public VkGraphicsPipelineCreateInfo.Buffer layout(long value)
Sets the specified value to theVkGraphicsPipelineCreateInfo.layout()field.
-
renderPass
public VkGraphicsPipelineCreateInfo.Buffer renderPass(long value)
Sets the specified value to theVkGraphicsPipelineCreateInfo.renderPass()field.
-
subpass
public VkGraphicsPipelineCreateInfo.Buffer subpass(int value)
Sets the specified value to theVkGraphicsPipelineCreateInfo.subpass()field.
-
basePipelineHandle
public VkGraphicsPipelineCreateInfo.Buffer basePipelineHandle(long value)
Sets the specified value to theVkGraphicsPipelineCreateInfo.basePipelineHandle()field.
-
basePipelineIndex
public VkGraphicsPipelineCreateInfo.Buffer basePipelineIndex(int value)
Sets the specified value to theVkGraphicsPipelineCreateInfo.basePipelineIndex()field.
-
-