Package org.lwjgl.vulkan
Class VkGraphicsPipelineCreateInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkGraphicsPipelineCreateInfo.Buffer>
org.lwjgl.system.StructBuffer<VkGraphicsPipelineCreateInfo,VkGraphicsPipelineCreateInfo.Buffer>
org.lwjgl.vulkan.VkGraphicsPipelineCreateInfo.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<VkGraphicsPipelineCreateInfo>,NativeResource,Pointer
- Enclosing class:
VkGraphicsPipelineCreateInfo
public static class VkGraphicsPipelineCreateInfo.Buffer
extends StructBuffer<VkGraphicsPipelineCreateInfo,VkGraphicsPipelineCreateInfo.Buffer>
implements NativeResource
An array of
VkGraphicsPipelineCreateInfo structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkGraphicsPipelineCreateInfo.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlongbasePipelineHandle(long value) Sets the specified value to thebasePipelineHandlefield.intbasePipelineIndex(int value) Sets the specified value to thebasePipelineIndexfield.intflags()flags(int value) Sets the specified value to theflagsfield.longlayout()layout(long value) Sets the specified value to thelayoutfield.@Nullable VkPipelineColorBlendStateCreateInfopColorBlendState(@Nullable VkPipelineColorBlendStateCreateInfo value) Sets the address of the specifiedVkPipelineColorBlendStateCreateInfoto thepColorBlendStatefield.@Nullable VkPipelineDepthStencilStateCreateInfopDepthStencilState(@Nullable VkPipelineDepthStencilStateCreateInfo value) Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfoto thepDepthStencilStatefield.@Nullable VkPipelineDynamicStateCreateInfopDynamicState(@Nullable VkPipelineDynamicStateCreateInfo value) Sets the address of the specifiedVkPipelineDynamicStateCreateInfoto thepDynamicStatefield.@Nullable VkPipelineInputAssemblyStateCreateInfopInputAssemblyState(@Nullable VkPipelineInputAssemblyStateCreateInfo value) Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfoto thepInputAssemblyStatefield.@Nullable VkPipelineMultisampleStateCreateInfopMultisampleState(@Nullable VkPipelineMultisampleStateCreateInfo value) Sets the address of the specifiedVkPipelineMultisampleStateCreateInfoto thepMultisampleStatefield.longpNext()pNext(long value) Sets the specified value to thepNextfield.Prepends the specifiedVkAttachmentSampleCountInfoAMDvalue to thepNextchain.Prepends the specifiedVkAttachmentSampleCountInfoNVvalue to thepNextchain.pNext(VkExternalFormatANDROID value) Prepends the specifiedVkExternalFormatANDROIDvalue to thepNextchain.Prepends the specifiedVkGraphicsPipelineLibraryCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkGraphicsPipelineShaderGroupsCreateInfoNVvalue to thepNextchain.Prepends the specifiedVkMultiviewPerViewAttributesInfoNVXvalue to thepNextchain.pNext(VkPipelineBinaryInfoKHR value) Prepends the specifiedVkPipelineBinaryInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineCompilerControlCreateInfoAMDvalue to thepNextchain.Prepends the specifiedVkPipelineCreateFlags2CreateInfovalue to thepNextchain.Prepends the specifiedVkPipelineCreateFlags2CreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineCreationFeedbackCreateInfovalue to thepNextchain.Prepends the specifiedVkPipelineCreationFeedbackCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkPipelineDiscardRectangleStateCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkPipelineFragmentDensityMapLayeredCreateInfoVALVEvalue to thepNextchain.Prepends the specifiedVkPipelineFragmentShadingRateEnumStateCreateInfoNVvalue to thepNextchain.Prepends the specifiedVkPipelineFragmentShadingRateStateCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineLibraryCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineRenderingCreateInfovalue to thepNextchain.Prepends the specifiedVkPipelineRenderingCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineRepresentativeFragmentTestStateCreateInfoNVvalue to thepNextchain.Prepends the specifiedVkPipelineRobustnessCreateInfovalue to thepNextchain.Prepends the specifiedVkPipelineRobustnessCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkRenderingAttachmentLocationInfovalue to thepNextchain.Prepends the specifiedVkRenderingAttachmentLocationInfoKHRvalue to thepNextchain.Prepends the specifiedVkRenderingInputAttachmentIndexInfovalue to thepNextchain.Prepends the specifiedVkRenderingInputAttachmentIndexInfoKHRvalue to thepNextchain.@Nullable VkPipelineRasterizationStateCreateInfopRasterizationState(@Nullable VkPipelineRasterizationStateCreateInfo value) Sets the address of the specifiedVkPipelineRasterizationStateCreateInfoto thepRasterizationStatefield.@Nullable VkPipelineShaderStageCreateInfo.BufferpStages()pStages(@Nullable VkPipelineShaderStageCreateInfo.Buffer value) Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Bufferto thepStagesfield.@Nullable VkPipelineTessellationStateCreateInfopTessellationState(@Nullable VkPipelineTessellationStateCreateInfo value) Sets the address of the specifiedVkPipelineTessellationStateCreateInfoto thepTessellationStatefield.@Nullable VkPipelineVertexInputStateCreateInfopVertexInputState(@Nullable VkPipelineVertexInputStateCreateInfo value) Sets the address of the specifiedVkPipelineVertexInputStateCreateInfoto thepVertexInputStatefield.@Nullable VkPipelineViewportStateCreateInfopViewportState(@Nullable VkPipelineViewportStateCreateInfo value) Sets the address of the specifiedVkPipelineViewportStateCreateInfoto thepViewportStatefield.longrenderPass(long value) Sets the specified value to therenderPassfield.intstageCount(int value) Sets the specified value to thestageCountfield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFOvalue to thesTypefield.intsubpass()subpass(int value) Sets the specified value to thesubpassfield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 by
VkGraphicsPipelineCreateInfo.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 Details
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
stageCount
public int stageCount()- Returns:
- the value of the
stageCountfield.
-
pStages
- Returns:
- a
VkPipelineShaderStageCreateInfo.Bufferview of the struct array pointed to by thepStagesfield.
-
pVertexInputState
- Returns:
- a
VkPipelineVertexInputStateCreateInfoview of the struct pointed to by thepVertexInputStatefield.
-
pInputAssemblyState
- Returns:
- a
VkPipelineInputAssemblyStateCreateInfoview of the struct pointed to by thepInputAssemblyStatefield.
-
pTessellationState
- Returns:
- a
VkPipelineTessellationStateCreateInfoview of the struct pointed to by thepTessellationStatefield.
-
pViewportState
- Returns:
- a
VkPipelineViewportStateCreateInfoview of the struct pointed to by thepViewportStatefield.
-
pRasterizationState
- Returns:
- a
VkPipelineRasterizationStateCreateInfoview of the struct pointed to by thepRasterizationStatefield.
-
pMultisampleState
- Returns:
- a
VkPipelineMultisampleStateCreateInfoview of the struct pointed to by thepMultisampleStatefield.
-
pDepthStencilState
- Returns:
- a
VkPipelineDepthStencilStateCreateInfoview of the struct pointed to by thepDepthStencilStatefield.
-
pColorBlendState
- Returns:
- a
VkPipelineColorBlendStateCreateInfoview of the struct pointed to by thepColorBlendStatefield.
-
pDynamicState
- Returns:
- a
VkPipelineDynamicStateCreateInfoview of the struct pointed to by thepDynamicStatefield.
-
layout
public long layout()- Returns:
- the value of the
layoutfield.
-
renderPass
public long renderPass()- Returns:
- the value of the
renderPassfield.
-
subpass
public int subpass()- Returns:
- the value of the
subpassfield.
-
basePipelineHandle
public long basePipelineHandle()- Returns:
- the value of the
basePipelineHandlefield.
-
basePipelineIndex
public int basePipelineIndex()- Returns:
- the value of the
basePipelineIndexfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFOvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
pNext
Prepends the specifiedVkAttachmentSampleCountInfoAMDvalue to thepNextchain. -
pNext
Prepends the specifiedVkAttachmentSampleCountInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkExternalFormatANDROIDvalue to thepNextchain. -
pNext
Prepends the specifiedVkGraphicsPipelineLibraryCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkGraphicsPipelineShaderGroupsCreateInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkMultiviewPerViewAttributesInfoNVXvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineBinaryInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineCompilerControlCreateInfoAMDvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineCreateFlags2CreateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineCreateFlags2CreateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineCreationFeedbackCreateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineCreationFeedbackCreateInfoEXTvalue to thepNextchain. -
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineDiscardRectangleStateCreateInfoEXT value) Prepends the specifiedVkPipelineDiscardRectangleStateCreateInfoEXTvalue to thepNextchain. -
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineFragmentDensityMapLayeredCreateInfoVALVE value) Prepends the specifiedVkPipelineFragmentDensityMapLayeredCreateInfoVALVEvalue 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
Prepends the specifiedVkPipelineLibraryCreateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineRenderingCreateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineRenderingCreateInfoKHRvalue to thepNextchain. -
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineRepresentativeFragmentTestStateCreateInfoNV value) Prepends the specifiedVkPipelineRepresentativeFragmentTestStateCreateInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineRobustnessCreateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineRobustnessCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkRenderingAttachmentLocationInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkRenderingAttachmentLocationInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkRenderingInputAttachmentIndexInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkRenderingInputAttachmentIndexInfoKHRvalue to thepNextchain. -
flags
Sets the specified value to theflagsfield. -
stageCount
Sets the specified value to thestageCountfield. -
pStages
public VkGraphicsPipelineCreateInfo.Buffer pStages(@Nullable VkPipelineShaderStageCreateInfo.Buffer value) Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Bufferto thepStagesfield. -
pVertexInputState
public VkGraphicsPipelineCreateInfo.Buffer pVertexInputState(@Nullable VkPipelineVertexInputStateCreateInfo value) Sets the address of the specifiedVkPipelineVertexInputStateCreateInfoto thepVertexInputStatefield. -
pInputAssemblyState
public VkGraphicsPipelineCreateInfo.Buffer pInputAssemblyState(@Nullable VkPipelineInputAssemblyStateCreateInfo value) Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfoto thepInputAssemblyStatefield. -
pTessellationState
public VkGraphicsPipelineCreateInfo.Buffer pTessellationState(@Nullable VkPipelineTessellationStateCreateInfo value) Sets the address of the specifiedVkPipelineTessellationStateCreateInfoto thepTessellationStatefield. -
pViewportState
public VkGraphicsPipelineCreateInfo.Buffer pViewportState(@Nullable VkPipelineViewportStateCreateInfo value) Sets the address of the specifiedVkPipelineViewportStateCreateInfoto thepViewportStatefield. -
pRasterizationState
public VkGraphicsPipelineCreateInfo.Buffer pRasterizationState(@Nullable VkPipelineRasterizationStateCreateInfo value) Sets the address of the specifiedVkPipelineRasterizationStateCreateInfoto thepRasterizationStatefield. -
pMultisampleState
public VkGraphicsPipelineCreateInfo.Buffer pMultisampleState(@Nullable VkPipelineMultisampleStateCreateInfo value) Sets the address of the specifiedVkPipelineMultisampleStateCreateInfoto thepMultisampleStatefield. -
pDepthStencilState
public VkGraphicsPipelineCreateInfo.Buffer pDepthStencilState(@Nullable VkPipelineDepthStencilStateCreateInfo value) Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfoto thepDepthStencilStatefield. -
pColorBlendState
public VkGraphicsPipelineCreateInfo.Buffer pColorBlendState(@Nullable VkPipelineColorBlendStateCreateInfo value) Sets the address of the specifiedVkPipelineColorBlendStateCreateInfoto thepColorBlendStatefield. -
pDynamicState
public VkGraphicsPipelineCreateInfo.Buffer pDynamicState(@Nullable VkPipelineDynamicStateCreateInfo value) Sets the address of the specifiedVkPipelineDynamicStateCreateInfoto thepDynamicStatefield. -
layout
Sets the specified value to thelayoutfield. -
renderPass
Sets the specified value to therenderPassfield. -
subpass
Sets the specified value to thesubpassfield. -
basePipelineHandle
Sets the specified value to thebasePipelineHandlefield. -
basePipelineIndex
Sets the specified value to thebasePipelineIndexfield.
-