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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionlong
basePipelineHandle
(long value) Sets the specified value to thebasePipelineHandle
field.int
basePipelineIndex
(int value) Sets the specified value to thebasePipelineIndex
field.int
flags()
flags
(int value) Sets the specified value to theflags
field.long
layout()
layout
(long value) Sets the specified value to thelayout
field.@Nullable VkPipelineColorBlendStateCreateInfo
pColorBlendState
(@Nullable VkPipelineColorBlendStateCreateInfo value) Sets the address of the specifiedVkPipelineColorBlendStateCreateInfo
to thepColorBlendState
field.@Nullable VkPipelineDepthStencilStateCreateInfo
pDepthStencilState
(@Nullable VkPipelineDepthStencilStateCreateInfo value) Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfo
to thepDepthStencilState
field.@Nullable VkPipelineDynamicStateCreateInfo
pDynamicState
(@Nullable VkPipelineDynamicStateCreateInfo value) Sets the address of the specifiedVkPipelineDynamicStateCreateInfo
to thepDynamicState
field.@Nullable VkPipelineInputAssemblyStateCreateInfo
pInputAssemblyState
(@Nullable VkPipelineInputAssemblyStateCreateInfo value) Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfo
to thepInputAssemblyState
field.@Nullable VkPipelineMultisampleStateCreateInfo
pMultisampleState
(@Nullable VkPipelineMultisampleStateCreateInfo value) Sets the address of the specifiedVkPipelineMultisampleStateCreateInfo
to thepMultisampleState
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
field.Prepends the specifiedVkAttachmentSampleCountInfoAMD
value to thepNext
chain.Prepends the specifiedVkAttachmentSampleCountInfoNV
value to thepNext
chain.pNext
(VkExternalFormatANDROID value) Prepends the specifiedVkExternalFormatANDROID
value to thepNext
chain.Prepends the specifiedVkGraphicsPipelineLibraryCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkGraphicsPipelineShaderGroupsCreateInfoNV
value to thepNext
chain.Prepends the specifiedVkMultiviewPerViewAttributesInfoNVX
value to thepNext
chain.pNext
(VkPipelineBinaryInfoKHR value) Prepends the specifiedVkPipelineBinaryInfoKHR
value to thepNext
chain.Prepends the specifiedVkPipelineCompilerControlCreateInfoAMD
value to thepNext
chain.Prepends the specifiedVkPipelineCreateFlags2CreateInfo
value to thepNext
chain.Prepends the specifiedVkPipelineCreateFlags2CreateInfoKHR
value to thepNext
chain.Prepends the specifiedVkPipelineCreationFeedbackCreateInfo
value to thepNext
chain.Prepends the specifiedVkPipelineCreationFeedbackCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkPipelineDiscardRectangleStateCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkPipelineFragmentShadingRateEnumStateCreateInfoNV
value to thepNext
chain.Prepends the specifiedVkPipelineFragmentShadingRateStateCreateInfoKHR
value to thepNext
chain.Prepends the specifiedVkPipelineLibraryCreateInfoKHR
value to thepNext
chain.Prepends the specifiedVkPipelineRenderingCreateInfo
value to thepNext
chain.Prepends the specifiedVkPipelineRenderingCreateInfoKHR
value to thepNext
chain.Prepends the specifiedVkPipelineRepresentativeFragmentTestStateCreateInfoNV
value to thepNext
chain.Prepends the specifiedVkPipelineRobustnessCreateInfo
value to thepNext
chain.Prepends the specifiedVkPipelineRobustnessCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkRenderingAttachmentLocationInfo
value to thepNext
chain.Prepends the specifiedVkRenderingAttachmentLocationInfoKHR
value to thepNext
chain.Prepends the specifiedVkRenderingInputAttachmentIndexInfo
value to thepNext
chain.Prepends the specifiedVkRenderingInputAttachmentIndexInfoKHR
value to thepNext
chain.@Nullable VkPipelineRasterizationStateCreateInfo
pRasterizationState
(@Nullable VkPipelineRasterizationStateCreateInfo value) Sets the address of the specifiedVkPipelineRasterizationStateCreateInfo
to thepRasterizationState
field.@Nullable VkPipelineShaderStageCreateInfo.Buffer
pStages()
pStages
(@Nullable VkPipelineShaderStageCreateInfo.Buffer value) Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Buffer
to thepStages
field.@Nullable VkPipelineTessellationStateCreateInfo
pTessellationState
(@Nullable VkPipelineTessellationStateCreateInfo value) Sets the address of the specifiedVkPipelineTessellationStateCreateInfo
to thepTessellationState
field.@Nullable VkPipelineVertexInputStateCreateInfo
pVertexInputState
(@Nullable VkPipelineVertexInputStateCreateInfo value) Sets the address of the specifiedVkPipelineVertexInputStateCreateInfo
to thepVertexInputState
field.@Nullable VkPipelineViewportStateCreateInfo
pViewportState
(@Nullable VkPipelineViewportStateCreateInfo value) Sets the address of the specifiedVkPipelineViewportStateCreateInfo
to thepViewportState
field.long
renderPass
(long value) Sets the specified value to therenderPass
field.int
stageCount
(int value) Sets the specified value to thestageCount
field.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO
value to thesType
field.int
subpass()
subpass
(int value) Sets the specified value to thesubpass
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
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 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
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
flags
public int flags()- Returns:
- the value of the
flags
field.
-
stageCount
public int stageCount()- Returns:
- the value of the
stageCount
field.
-
pStages
- Returns:
- a
VkPipelineShaderStageCreateInfo.Buffer
view of the struct array pointed to by thepStages
field.
-
pVertexInputState
- Returns:
- a
VkPipelineVertexInputStateCreateInfo
view of the struct pointed to by thepVertexInputState
field.
-
pInputAssemblyState
- Returns:
- a
VkPipelineInputAssemblyStateCreateInfo
view of the struct pointed to by thepInputAssemblyState
field.
-
pTessellationState
- Returns:
- a
VkPipelineTessellationStateCreateInfo
view of the struct pointed to by thepTessellationState
field.
-
pViewportState
- Returns:
- a
VkPipelineViewportStateCreateInfo
view of the struct pointed to by thepViewportState
field.
-
pRasterizationState
- Returns:
- a
VkPipelineRasterizationStateCreateInfo
view of the struct pointed to by thepRasterizationState
field.
-
pMultisampleState
- Returns:
- a
VkPipelineMultisampleStateCreateInfo
view of the struct pointed to by thepMultisampleState
field.
-
pDepthStencilState
- Returns:
- a
VkPipelineDepthStencilStateCreateInfo
view of the struct pointed to by thepDepthStencilState
field.
-
pColorBlendState
- Returns:
- a
VkPipelineColorBlendStateCreateInfo
view of the struct pointed to by thepColorBlendState
field.
-
pDynamicState
- Returns:
- a
VkPipelineDynamicStateCreateInfo
view of the struct pointed to by thepDynamicState
field.
-
layout
public long layout()- Returns:
- the value of the
layout
field.
-
renderPass
public long renderPass()- Returns:
- the value of the
renderPass
field.
-
subpass
public int subpass()- Returns:
- the value of the
subpass
field.
-
basePipelineHandle
public long basePipelineHandle()- Returns:
- the value of the
basePipelineHandle
field.
-
basePipelineIndex
public int basePipelineIndex()- Returns:
- the value of the
basePipelineIndex
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO
value to thesType
field. -
pNext
Sets the specified value to thepNext
field. -
pNext
Prepends the specifiedVkAttachmentSampleCountInfoAMD
value to thepNext
chain. -
pNext
Prepends the specifiedVkAttachmentSampleCountInfoNV
value to thepNext
chain. -
pNext
Prepends the specifiedVkExternalFormatANDROID
value to thepNext
chain. -
pNext
Prepends the specifiedVkGraphicsPipelineLibraryCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkGraphicsPipelineShaderGroupsCreateInfoNV
value to thepNext
chain. -
pNext
Prepends the specifiedVkMultiviewPerViewAttributesInfoNVX
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineBinaryInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineCompilerControlCreateInfoAMD
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineCreateFlags2CreateInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineCreateFlags2CreateInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineCreationFeedbackCreateInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineCreationFeedbackCreateInfoEXT
value to thepNext
chain. -
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineDiscardRectangleStateCreateInfoEXT value) Prepends the specifiedVkPipelineDiscardRectangleStateCreateInfoEXT
value to thepNext
chain. -
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineFragmentShadingRateEnumStateCreateInfoNV value) Prepends the specifiedVkPipelineFragmentShadingRateEnumStateCreateInfoNV
value to thepNext
chain. -
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineFragmentShadingRateStateCreateInfoKHR value) Prepends the specifiedVkPipelineFragmentShadingRateStateCreateInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineLibraryCreateInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineRenderingCreateInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineRenderingCreateInfoKHR
value to thepNext
chain. -
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(VkPipelineRepresentativeFragmentTestStateCreateInfoNV value) Prepends the specifiedVkPipelineRepresentativeFragmentTestStateCreateInfoNV
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineRobustnessCreateInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineRobustnessCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkRenderingAttachmentLocationInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkRenderingAttachmentLocationInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkRenderingInputAttachmentIndexInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkRenderingInputAttachmentIndexInfoKHR
value to thepNext
chain. -
flags
Sets the specified value to theflags
field. -
stageCount
Sets the specified value to thestageCount
field. -
pStages
public VkGraphicsPipelineCreateInfo.Buffer pStages(@Nullable 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(@Nullable 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
Sets the specified value to thelayout
field. -
renderPass
Sets the specified value to therenderPass
field. -
subpass
Sets the specified value to thesubpass
field. -
basePipelineHandle
Sets the specified value to thebasePipelineHandle
field. -
basePipelineIndex
Sets the specified value to thebasePipelineIndex
field.
-