Package org.lwjgl.vulkan
Class VkGraphicsPipelineCreateInfo.Buffer
- java.lang.Object
-
- org.lwjgl.system.StructBuffer<VkGraphicsPipelineCreateInfo,VkGraphicsPipelineCreateInfo.Buffer>
-
- org.lwjgl.vulkan.VkGraphicsPipelineCreateInfo.Buffer
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
- Enclosing class:
- VkGraphicsPipelineCreateInfo
public static final class VkGraphicsPipelineCreateInfo.Buffer extends StructBuffer<VkGraphicsPipelineCreateInfo,VkGraphicsPipelineCreateInfo.Buffer>
An array ofVkGraphicsPipelineCreateInfostructs.
-
-
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
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and Description Buffer(java.nio.ByteBuffer container)Creates a newVkGraphicsPipelineCreateInfo.Bufferinstance backed by the specified container.
-
Method Summary
-
Methods inherited from class org.lwjgl.system.StructBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, get, get, get, get, hasRemaining, limit, limit, mark, position, position, put, put, put, remaining, reset, rewind, slice, slice, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
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.
-
-
Method Detail
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
stageCount
public int stageCount()
Returns the value of thestageCountfield.
-
pStages
public VkPipelineShaderStageCreateInfo.Buffer pStages()
Returns aVkPipelineShaderStageCreateInfo.Bufferview of the struct array pointed to by thepStagesfield.
-
pVertexInputState
public VkPipelineVertexInputStateCreateInfo pVertexInputState()
Returns aVkPipelineVertexInputStateCreateInfoview of the struct pointed to by thepVertexInputStatefield.
-
pInputAssemblyState
public VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState()
Returns aVkPipelineInputAssemblyStateCreateInfoview of the struct pointed to by thepInputAssemblyStatefield.
-
pTessellationState
public VkPipelineTessellationStateCreateInfo pTessellationState()
Returns aVkPipelineTessellationStateCreateInfoview of the struct pointed to by thepTessellationStatefield.
-
pViewportState
public VkPipelineViewportStateCreateInfo pViewportState()
Returns aVkPipelineViewportStateCreateInfoview of the struct pointed to by thepViewportStatefield.
-
pRasterizationState
public VkPipelineRasterizationStateCreateInfo pRasterizationState()
Returns aVkPipelineRasterizationStateCreateInfoview of the struct pointed to by thepRasterizationStatefield.
-
pMultisampleState
public VkPipelineMultisampleStateCreateInfo pMultisampleState()
Returns aVkPipelineMultisampleStateCreateInfoview of the struct pointed to by thepMultisampleStatefield.
-
pDepthStencilState
public VkPipelineDepthStencilStateCreateInfo pDepthStencilState()
Returns aVkPipelineDepthStencilStateCreateInfoview of the struct pointed to by thepDepthStencilStatefield.
-
pColorBlendState
public VkPipelineColorBlendStateCreateInfo pColorBlendState()
Returns aVkPipelineColorBlendStateCreateInfoview of the struct pointed to by thepColorBlendStatefield.
-
pDynamicState
public VkPipelineDynamicStateCreateInfo pDynamicState()
Returns aVkPipelineDynamicStateCreateInfoview of the struct pointed to by thepDynamicStatefield.
-
layout
public long layout()
Returns the value of thelayoutfield.
-
renderPass
public long renderPass()
Returns the value of therenderPassfield.
-
subpass
public int subpass()
Returns the value of thesubpassfield.
-
basePipelineHandle
public long basePipelineHandle()
Returns the value of thebasePipelineHandlefield.
-
basePipelineIndex
public int basePipelineIndex()
Returns the value of thebasePipelineIndexfield.
-
sType
public VkGraphicsPipelineCreateInfo.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkGraphicsPipelineCreateInfo.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkGraphicsPipelineCreateInfo.Buffer flags(int value)
Sets the specified value to theflagsfield.
-
pStages
public VkGraphicsPipelineCreateInfo.Buffer pStages(VkPipelineShaderStageCreateInfo.Buffer value)
Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Bufferto thepStagesfield.
-
pVertexInputState
public VkGraphicsPipelineCreateInfo.Buffer pVertexInputState(VkPipelineVertexInputStateCreateInfo value)
Sets the address of the specifiedVkPipelineVertexInputStateCreateInfoto thepVertexInputStatefield.
-
pInputAssemblyState
public VkGraphicsPipelineCreateInfo.Buffer pInputAssemblyState(VkPipelineInputAssemblyStateCreateInfo value)
Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfoto thepInputAssemblyStatefield.
-
pTessellationState
public VkGraphicsPipelineCreateInfo.Buffer pTessellationState(VkPipelineTessellationStateCreateInfo value)
Sets the address of the specifiedVkPipelineTessellationStateCreateInfoto thepTessellationStatefield.
-
pViewportState
public VkGraphicsPipelineCreateInfo.Buffer pViewportState(VkPipelineViewportStateCreateInfo value)
Sets the address of the specifiedVkPipelineViewportStateCreateInfoto thepViewportStatefield.
-
pRasterizationState
public VkGraphicsPipelineCreateInfo.Buffer pRasterizationState(VkPipelineRasterizationStateCreateInfo value)
Sets the address of the specifiedVkPipelineRasterizationStateCreateInfoto thepRasterizationStatefield.
-
pMultisampleState
public VkGraphicsPipelineCreateInfo.Buffer pMultisampleState(VkPipelineMultisampleStateCreateInfo value)
Sets the address of the specifiedVkPipelineMultisampleStateCreateInfoto thepMultisampleStatefield.
-
pDepthStencilState
public VkGraphicsPipelineCreateInfo.Buffer pDepthStencilState(VkPipelineDepthStencilStateCreateInfo value)
Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfoto thepDepthStencilStatefield.
-
pColorBlendState
public VkGraphicsPipelineCreateInfo.Buffer pColorBlendState(VkPipelineColorBlendStateCreateInfo value)
Sets the address of the specifiedVkPipelineColorBlendStateCreateInfoto thepColorBlendStatefield.
-
pDynamicState
public VkGraphicsPipelineCreateInfo.Buffer pDynamicState(VkPipelineDynamicStateCreateInfo value)
Sets the address of the specifiedVkPipelineDynamicStateCreateInfoto thepDynamicStatefield.
-
layout
public VkGraphicsPipelineCreateInfo.Buffer layout(long value)
Sets the specified value to thelayoutfield.
-
renderPass
public VkGraphicsPipelineCreateInfo.Buffer renderPass(long value)
Sets the specified value to therenderPassfield.
-
subpass
public VkGraphicsPipelineCreateInfo.Buffer subpass(int value)
Sets the specified value to thesubpassfield.
-
basePipelineHandle
public VkGraphicsPipelineCreateInfo.Buffer basePipelineHandle(long value)
Sets the specified value to thebasePipelineHandlefield.
-
basePipelineIndex
public VkGraphicsPipelineCreateInfo.Buffer basePipelineIndex(int value)
Sets the specified value to thebasePipelineIndexfield.
-
-