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 Pointer
Pointer.Default -
Field Summary
Fields inherited from interface 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.Prepends the specifiedVkCustomResolveCreateInfoEXTvalue 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 StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class 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 Pointer.Default
equals, hashCodeMethods inherited from interface 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
- Returns:
- the value of the
sTypefield.
-
pNext
- Returns:
- the value of the
pNextfield.
-
flags
- Returns:
- the value of the
flagsfield.
-
stageCount
- Returns:
- the value of the
stageCountfield.
-
pStages
@NativeType("VkPipelineShaderStageCreateInfo const *") public @Nullable VkPipelineShaderStageCreateInfo.Buffer pStages()- Returns:
- a
VkPipelineShaderStageCreateInfo.Bufferview of the struct array pointed to by thepStagesfield.
-
pVertexInputState
@NativeType("VkPipelineVertexInputStateCreateInfo const *") public @Nullable VkPipelineVertexInputStateCreateInfo pVertexInputState()- Returns:
- a
VkPipelineVertexInputStateCreateInfoview of the struct pointed to by thepVertexInputStatefield.
-
pInputAssemblyState
@NativeType("VkPipelineInputAssemblyStateCreateInfo const *") public @Nullable VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState()- Returns:
- a
VkPipelineInputAssemblyStateCreateInfoview of the struct pointed to by thepInputAssemblyStatefield.
-
pTessellationState
@NativeType("VkPipelineTessellationStateCreateInfo const *") public @Nullable VkPipelineTessellationStateCreateInfo pTessellationState()- Returns:
- a
VkPipelineTessellationStateCreateInfoview of the struct pointed to by thepTessellationStatefield.
-
pViewportState
@NativeType("VkPipelineViewportStateCreateInfo const *") public @Nullable VkPipelineViewportStateCreateInfo pViewportState()- Returns:
- a
VkPipelineViewportStateCreateInfoview of the struct pointed to by thepViewportStatefield.
-
pRasterizationState
@NativeType("VkPipelineRasterizationStateCreateInfo const *") public @Nullable VkPipelineRasterizationStateCreateInfo pRasterizationState()- Returns:
- a
VkPipelineRasterizationStateCreateInfoview of the struct pointed to by thepRasterizationStatefield.
-
pMultisampleState
@NativeType("VkPipelineMultisampleStateCreateInfo const *") public @Nullable VkPipelineMultisampleStateCreateInfo pMultisampleState()- Returns:
- a
VkPipelineMultisampleStateCreateInfoview of the struct pointed to by thepMultisampleStatefield.
-
pDepthStencilState
@NativeType("VkPipelineDepthStencilStateCreateInfo const *") public @Nullable VkPipelineDepthStencilStateCreateInfo pDepthStencilState()- Returns:
- a
VkPipelineDepthStencilStateCreateInfoview of the struct pointed to by thepDepthStencilStatefield.
-
pColorBlendState
@NativeType("VkPipelineColorBlendStateCreateInfo const *") public @Nullable VkPipelineColorBlendStateCreateInfo pColorBlendState()- Returns:
- a
VkPipelineColorBlendStateCreateInfoview of the struct pointed to by thepColorBlendStatefield.
-
pDynamicState
@NativeType("VkPipelineDynamicStateCreateInfo const *") public @Nullable VkPipelineDynamicStateCreateInfo pDynamicState()- Returns:
- a
VkPipelineDynamicStateCreateInfoview of the struct pointed to by thepDynamicStatefield.
-
layout
- Returns:
- the value of the
layoutfield.
-
renderPass
- Returns:
- the value of the
renderPassfield.
-
subpass
- Returns:
- the value of the
subpassfield.
-
basePipelineHandle
- Returns:
- the value of the
basePipelineHandlefield.
-
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 specifiedVkCustomResolveCreateInfoEXTvalue 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(@NativeType("VkPipelineShaderStageCreateInfo const *") @Nullable VkPipelineShaderStageCreateInfo.Buffer value) Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Bufferto thepStagesfield. -
pVertexInputState
public VkGraphicsPipelineCreateInfo.Buffer pVertexInputState(@NativeType("VkPipelineVertexInputStateCreateInfo const *") @Nullable VkPipelineVertexInputStateCreateInfo value) Sets the address of the specifiedVkPipelineVertexInputStateCreateInfoto thepVertexInputStatefield. -
pInputAssemblyState
public VkGraphicsPipelineCreateInfo.Buffer pInputAssemblyState(@NativeType("VkPipelineInputAssemblyStateCreateInfo const *") @Nullable VkPipelineInputAssemblyStateCreateInfo value) Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfoto thepInputAssemblyStatefield. -
pTessellationState
public VkGraphicsPipelineCreateInfo.Buffer pTessellationState(@NativeType("VkPipelineTessellationStateCreateInfo const *") @Nullable VkPipelineTessellationStateCreateInfo value) Sets the address of the specifiedVkPipelineTessellationStateCreateInfoto thepTessellationStatefield. -
pViewportState
public VkGraphicsPipelineCreateInfo.Buffer pViewportState(@NativeType("VkPipelineViewportStateCreateInfo const *") @Nullable VkPipelineViewportStateCreateInfo value) Sets the address of the specifiedVkPipelineViewportStateCreateInfoto thepViewportStatefield. -
pRasterizationState
public VkGraphicsPipelineCreateInfo.Buffer pRasterizationState(@NativeType("VkPipelineRasterizationStateCreateInfo const *") @Nullable VkPipelineRasterizationStateCreateInfo value) Sets the address of the specifiedVkPipelineRasterizationStateCreateInfoto thepRasterizationStatefield. -
pMultisampleState
public VkGraphicsPipelineCreateInfo.Buffer pMultisampleState(@NativeType("VkPipelineMultisampleStateCreateInfo const *") @Nullable VkPipelineMultisampleStateCreateInfo value) Sets the address of the specifiedVkPipelineMultisampleStateCreateInfoto thepMultisampleStatefield. -
pDepthStencilState
public VkGraphicsPipelineCreateInfo.Buffer pDepthStencilState(@NativeType("VkPipelineDepthStencilStateCreateInfo const *") @Nullable VkPipelineDepthStencilStateCreateInfo value) Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfoto thepDepthStencilStatefield. -
pColorBlendState
public VkGraphicsPipelineCreateInfo.Buffer pColorBlendState(@NativeType("VkPipelineColorBlendStateCreateInfo const *") @Nullable VkPipelineColorBlendStateCreateInfo value) Sets the address of the specifiedVkPipelineColorBlendStateCreateInfoto thepColorBlendStatefield. -
pDynamicState
public VkGraphicsPipelineCreateInfo.Buffer pDynamicState(@NativeType("VkPipelineDynamicStateCreateInfo const *") @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.
-