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:
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
ConstructorDescriptionBuffer
(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 theVkGraphicsPipelineCreateInfo.basePipelineHandle()
field.int
basePipelineIndex
(int value) Sets the specified value to theVkGraphicsPipelineCreateInfo.basePipelineIndex()
field.int
flags()
flags
(int value) Sets the specified value to theVkGraphicsPipelineCreateInfo.flags()
field.long
layout()
layout
(long value) Sets the specified value to theVkGraphicsPipelineCreateInfo.layout()
field.Sets the address of the specifiedVkPipelineColorBlendStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pColorBlendState()
field.Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pDepthStencilState()
field.Sets the address of the specifiedVkPipelineDynamicStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pDynamicState()
field.Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pInputAssemblyState()
field.Sets the address of the specifiedVkPipelineMultisampleStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pMultisampleState()
field.long
pNext()
pNext
(long value) Sets the specified value to theVkGraphicsPipelineCreateInfo.pNext()
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.Prepends the specifiedVkPipelineCompilerControlCreateInfoAMD
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 specifiedVkPipelineRobustnessCreateInfoEXT
value to thepNext
chain.Sets the address of the specifiedVkPipelineRasterizationStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pRasterizationState()
field.pStages()
Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Buffer
to theVkGraphicsPipelineCreateInfo.pStages()
field.Sets the address of the specifiedVkPipelineTessellationStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pTessellationState()
field.Sets the address of the specifiedVkPipelineVertexInputStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pVertexInputState()
field.Sets the address of the specifiedVkPipelineViewportStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pViewportState()
field.long
renderPass
(long value) Sets the specified value to theVkGraphicsPipelineCreateInfo.renderPass()
field.int
stageCount
(int value) Sets the specified value to theVkGraphicsPipelineCreateInfo.stageCount()
field.int
sType()
sType
(int value) Sets the specified value to theVkGraphicsPipelineCreateInfo.sType()
field.Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO
value to theVkGraphicsPipelineCreateInfo.sType()
field.int
subpass()
subpass
(int value) Sets the specified value to theVkGraphicsPipelineCreateInfo.subpass()
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
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
- Returns:
- a
VkPipelineShaderStageCreateInfo.Buffer
view of the struct array pointed to by theVkGraphicsPipelineCreateInfo.pStages()
field.
-
pVertexInputState
- Returns:
- a
VkPipelineVertexInputStateCreateInfo
view of the struct pointed to by theVkGraphicsPipelineCreateInfo.pVertexInputState()
field.
-
pInputAssemblyState
- Returns:
- a
VkPipelineInputAssemblyStateCreateInfo
view of the struct pointed to by theVkGraphicsPipelineCreateInfo.pInputAssemblyState()
field.
-
pTessellationState
- Returns:
- a
VkPipelineTessellationStateCreateInfo
view of the struct pointed to by theVkGraphicsPipelineCreateInfo.pTessellationState()
field.
-
pViewportState
- Returns:
- a
VkPipelineViewportStateCreateInfo
view of the struct pointed to by theVkGraphicsPipelineCreateInfo.pViewportState()
field.
-
pRasterizationState
- Returns:
- a
VkPipelineRasterizationStateCreateInfo
view of the struct pointed to by theVkGraphicsPipelineCreateInfo.pRasterizationState()
field.
-
pMultisampleState
- Returns:
- a
VkPipelineMultisampleStateCreateInfo
view of the struct pointed to by theVkGraphicsPipelineCreateInfo.pMultisampleState()
field.
-
pDepthStencilState
- Returns:
- a
VkPipelineDepthStencilStateCreateInfo
view of the struct pointed to by theVkGraphicsPipelineCreateInfo.pDepthStencilState()
field.
-
pColorBlendState
- Returns:
- a
VkPipelineColorBlendStateCreateInfo
view of the struct pointed to by theVkGraphicsPipelineCreateInfo.pColorBlendState()
field.
-
pDynamicState
- Returns:
- a
VkPipelineDynamicStateCreateInfo
view 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
Sets the specified value to theVkGraphicsPipelineCreateInfo.sType()
field. -
sType$Default
Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO
value to theVkGraphicsPipelineCreateInfo.sType()
field. -
pNext
Sets the specified value to theVkGraphicsPipelineCreateInfo.pNext()
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 specifiedVkPipelineCompilerControlCreateInfoAMD
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 specifiedVkPipelineRobustnessCreateInfoEXT
value to thepNext
chain. -
flags
Sets the specified value to theVkGraphicsPipelineCreateInfo.flags()
field. -
stageCount
Sets the specified value to theVkGraphicsPipelineCreateInfo.stageCount()
field. -
pStages
public VkGraphicsPipelineCreateInfo.Buffer pStages(@Nullable VkPipelineShaderStageCreateInfo.Buffer value) Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Buffer
to theVkGraphicsPipelineCreateInfo.pStages()
field. -
pVertexInputState
public VkGraphicsPipelineCreateInfo.Buffer pVertexInputState(@Nullable VkPipelineVertexInputStateCreateInfo value) Sets the address of the specifiedVkPipelineVertexInputStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pVertexInputState()
field. -
pInputAssemblyState
public VkGraphicsPipelineCreateInfo.Buffer pInputAssemblyState(@Nullable VkPipelineInputAssemblyStateCreateInfo value) Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pInputAssemblyState()
field. -
pTessellationState
public VkGraphicsPipelineCreateInfo.Buffer pTessellationState(@Nullable VkPipelineTessellationStateCreateInfo value) Sets the address of the specifiedVkPipelineTessellationStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pTessellationState()
field. -
pViewportState
public VkGraphicsPipelineCreateInfo.Buffer pViewportState(@Nullable VkPipelineViewportStateCreateInfo value) Sets the address of the specifiedVkPipelineViewportStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pViewportState()
field. -
pRasterizationState
public VkGraphicsPipelineCreateInfo.Buffer pRasterizationState(@Nullable VkPipelineRasterizationStateCreateInfo value) Sets the address of the specifiedVkPipelineRasterizationStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pRasterizationState()
field. -
pMultisampleState
public VkGraphicsPipelineCreateInfo.Buffer pMultisampleState(@Nullable VkPipelineMultisampleStateCreateInfo value) Sets the address of the specifiedVkPipelineMultisampleStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pMultisampleState()
field. -
pDepthStencilState
public VkGraphicsPipelineCreateInfo.Buffer pDepthStencilState(@Nullable VkPipelineDepthStencilStateCreateInfo value) Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pDepthStencilState()
field. -
pColorBlendState
public VkGraphicsPipelineCreateInfo.Buffer pColorBlendState(@Nullable VkPipelineColorBlendStateCreateInfo value) Sets the address of the specifiedVkPipelineColorBlendStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pColorBlendState()
field. -
pDynamicState
public VkGraphicsPipelineCreateInfo.Buffer pDynamicState(@Nullable VkPipelineDynamicStateCreateInfo value) Sets the address of the specifiedVkPipelineDynamicStateCreateInfo
to theVkGraphicsPipelineCreateInfo.pDynamicState()
field. -
layout
Sets the specified value to theVkGraphicsPipelineCreateInfo.layout()
field. -
renderPass
Sets the specified value to theVkGraphicsPipelineCreateInfo.renderPass()
field. -
subpass
Sets the specified value to theVkGraphicsPipelineCreateInfo.subpass()
field. -
basePipelineHandle
Sets the specified value to theVkGraphicsPipelineCreateInfo.basePipelineHandle()
field. -
basePipelineIndex
Sets the specified value to theVkGraphicsPipelineCreateInfo.basePipelineIndex()
field.
-