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:
java.lang.AutoCloseable,java.lang.Iterable<VkGraphicsPipelineCreateInfo>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkGraphicsPipelineCreateInfo
public static class VkGraphicsPipelineCreateInfo.Buffer extends org.lwjgl.system.StructBuffer<VkGraphicsPipelineCreateInfo,VkGraphicsPipelineCreateInfo.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkGraphicsPipelineCreateInfostructs.
-
-
Method Summary
-
-
-
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.
-
Buffer
public Buffer(long address, int cap)
-
-
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
@Nullable public VkPipelineVertexInputStateCreateInfo pVertexInputState()
Returns aVkPipelineVertexInputStateCreateInfoview of the struct pointed to by thepVertexInputStatefield.
-
pInputAssemblyState
@Nullable public VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState()
Returns aVkPipelineInputAssemblyStateCreateInfoview of the struct pointed to by thepInputAssemblyStatefield.
-
pTessellationState
@Nullable public VkPipelineTessellationStateCreateInfo pTessellationState()
Returns aVkPipelineTessellationStateCreateInfoview of the struct pointed to by thepTessellationStatefield.
-
pViewportState
@Nullable 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
@Nullable public VkPipelineMultisampleStateCreateInfo pMultisampleState()
Returns aVkPipelineMultisampleStateCreateInfoview of the struct pointed to by thepMultisampleStatefield.
-
pDepthStencilState
@Nullable public VkPipelineDepthStencilStateCreateInfo pDepthStencilState()
Returns aVkPipelineDepthStencilStateCreateInfoview of the struct pointed to by thepDepthStencilStatefield.
-
pColorBlendState
@Nullable public VkPipelineColorBlendStateCreateInfo pColorBlendState()
Returns aVkPipelineColorBlendStateCreateInfoview of the struct pointed to by thepColorBlendStatefield.
-
pDynamicState
@Nullable 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(@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(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
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.
-
-