Record Class VkGraphicsPipelineCreateInfo
- All Implemented Interfaces:
IPointer,IVkGraphicsPipelineCreateInfo
Represents a pointer to a VkGraphicsPipelineCreateInfo structure in native memory.
Structure
typedef struct VkGraphicsPipelineCreateInfo {
VkStructureType sType;
void const* pNext; // optional
VkPipelineCreateFlags flags; // optional
uint32_t stageCount; // optional
VkPipelineShaderStageCreateInfo const* pStages; // optional
VkPipelineVertexInputStateCreateInfo const* pVertexInputState; // optional
VkPipelineInputAssemblyStateCreateInfo const* pInputAssemblyState; // optional
VkPipelineTessellationStateCreateInfo const* pTessellationState; // optional
VkPipelineViewportStateCreateInfo const* pViewportState; // optional
VkPipelineRasterizationStateCreateInfo const* pRasterizationState; // optional
VkPipelineMultisampleStateCreateInfo const* pMultisampleState; // optional
VkPipelineDepthStencilStateCreateInfo const* pDepthStencilState; // optional
VkPipelineColorBlendStateCreateInfo const* pColorBlendState; // optional
VkPipelineDynamicStateCreateInfo const* pDynamicState; // optional
VkPipelineLayout layout; // optional
VkRenderPass renderPass; // optional
uint32_t subpass;
VkPipeline basePipelineHandle; // optional
int32_t basePipelineIndex;
} VkGraphicsPipelineCreateInfo;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO
The allocate (allocate(Arena), allocate(Arena, long))
functions will automatically initialize these fields. Also, you may call autoInit()
to initialize these fields manually for non-allocated instances.
Contracts
The property segment() should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)), and properly aligned to
LAYOUT.byteAlignment() bytes. To represent null pointer, you may use a Java
null instead. See the documentation of IPointer.segment() for more details.
The constructor of this class is marked as UnsafeConstructor, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents a pointer to / an array ofVkGraphicsPipelineCreateInfostructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkGraphicsPipelineCreateInfo(@NotNull MemorySegment segment) Creates an instance of aVkGraphicsPipelineCreateInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkGraphicsPipelineCreateInfovoidautoInit()@Nullable VkPipelinebasePipelineHandle(@Nullable VkPipeline value) intbasePipelineIndex(int value) static VkGraphicsPipelineCreateInfoclone(Arena arena, VkGraphicsPipelineCreateInfo src) final booleanIndicates whether some other object is "equal to" this one.intflags()flags(int value) final inthashCode()Returns a hash code value for this object.@Nullable VkPipelineLayoutlayout()layout(@Nullable VkPipelineLayout value) @Nullable VkPipelineColorBlendStateCreateInfopColorBlendState(int assumedCount) pColorBlendState(@Nullable IVkPipelineColorBlendStateCreateInfo value) @NotNull MemorySegmentvoidpColorBlendStateRaw(@NotNull MemorySegment value) @Nullable VkPipelineDepthStencilStateCreateInfopDepthStencilState(int assumedCount) pDepthStencilState(@Nullable IVkPipelineDepthStencilStateCreateInfo value) @NotNull MemorySegmentvoidpDepthStencilStateRaw(@NotNull MemorySegment value) @Nullable VkPipelineDynamicStateCreateInfopDynamicState(int assumedCount) pDynamicState(@Nullable IVkPipelineDynamicStateCreateInfo value) @NotNull MemorySegmentvoidpDynamicStateRaw(@NotNull MemorySegment value) @Nullable VkPipelineInputAssemblyStateCreateInfopInputAssemblyState(int assumedCount) pInputAssemblyState(@Nullable IVkPipelineInputAssemblyStateCreateInfo value) @NotNull MemorySegmentvoidpInputAssemblyStateRaw(@NotNull MemorySegment value) @Nullable VkPipelineMultisampleStateCreateInfopMultisampleState(int assumedCount) pMultisampleState(@Nullable IVkPipelineMultisampleStateCreateInfo value) @NotNull MemorySegmentvoidpMultisampleStateRaw(@NotNull MemorySegment value) @NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @Nullable VkPipelineRasterizationStateCreateInfopRasterizationState(int assumedCount) pRasterizationState(@Nullable IVkPipelineRasterizationStateCreateInfo value) @NotNull MemorySegmentvoidpRasterizationStateRaw(@NotNull MemorySegment value) @Nullable VkPipelineShaderStageCreateInfopStages()pStages(int assumedCount) pStages(@Nullable IVkPipelineShaderStageCreateInfo value) @NotNull MemorySegmentvoidpStagesRaw(@NotNull MemorySegment value) @Nullable VkPipelineTessellationStateCreateInfopTessellationState(int assumedCount) pTessellationState(@Nullable IVkPipelineTessellationStateCreateInfo value) @NotNull MemorySegmentvoidpTessellationStateRaw(@NotNull MemorySegment value) @Nullable VkPipelineVertexInputStateCreateInfopVertexInputState(int assumedCount) pVertexInputState(@Nullable IVkPipelineVertexInputStateCreateInfo value) @NotNull MemorySegmentvoidpVertexInputStateRaw(@NotNull MemorySegment value) @Nullable VkPipelineViewportStateCreateInfopViewportState(int assumedCount) pViewportState(@Nullable IVkPipelineViewportStateCreateInfo value) @NotNull MemorySegmentvoidpViewportStateRaw(@NotNull MemorySegment value) @Nullable VkRenderPassrenderPass(@Nullable VkRenderPass value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intstageCount(int value) intsType()sType(int value) intsubpass()subpass(int value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$flags
-
PATH$stageCount
-
PATH$pStages
-
PATH$pVertexInputState
-
PATH$pInputAssemblyState
-
PATH$pTessellationState
-
PATH$pViewportState
-
PATH$pRasterizationState
-
PATH$pMultisampleState
-
PATH$pDepthStencilState
-
PATH$pColorBlendState
-
PATH$pDynamicState
-
PATH$layout
-
PATH$renderPass
-
PATH$subpass
-
PATH$basePipelineHandle
-
PATH$basePipelineIndex
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$flags
-
LAYOUT$stageCount
-
LAYOUT$pStages
-
LAYOUT$pVertexInputState
-
LAYOUT$pInputAssemblyState
-
LAYOUT$pTessellationState
-
LAYOUT$pViewportState
-
LAYOUT$pRasterizationState
-
LAYOUT$pMultisampleState
-
LAYOUT$pDepthStencilState
-
LAYOUT$pColorBlendState
-
LAYOUT$pDynamicState
-
LAYOUT$layout
-
LAYOUT$renderPass
-
LAYOUT$subpass
-
LAYOUT$basePipelineHandle
-
LAYOUT$basePipelineIndex
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$flags
public static final long SIZE$flags -
SIZE$stageCount
public static final long SIZE$stageCount -
SIZE$pStages
public static final long SIZE$pStages -
SIZE$pVertexInputState
public static final long SIZE$pVertexInputState -
SIZE$pInputAssemblyState
public static final long SIZE$pInputAssemblyState -
SIZE$pTessellationState
public static final long SIZE$pTessellationState -
SIZE$pViewportState
public static final long SIZE$pViewportState -
SIZE$pRasterizationState
public static final long SIZE$pRasterizationState -
SIZE$pMultisampleState
public static final long SIZE$pMultisampleState -
SIZE$pDepthStencilState
public static final long SIZE$pDepthStencilState -
SIZE$pColorBlendState
public static final long SIZE$pColorBlendState -
SIZE$pDynamicState
public static final long SIZE$pDynamicState -
SIZE$layout
public static final long SIZE$layout -
SIZE$renderPass
public static final long SIZE$renderPass -
SIZE$subpass
public static final long SIZE$subpass -
SIZE$basePipelineHandle
public static final long SIZE$basePipelineHandle -
SIZE$basePipelineIndex
public static final long SIZE$basePipelineIndex -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$stageCount
public static final long OFFSET$stageCount -
OFFSET$pStages
public static final long OFFSET$pStages -
OFFSET$pVertexInputState
public static final long OFFSET$pVertexInputState -
OFFSET$pInputAssemblyState
public static final long OFFSET$pInputAssemblyState -
OFFSET$pTessellationState
public static final long OFFSET$pTessellationState -
OFFSET$pViewportState
public static final long OFFSET$pViewportState -
OFFSET$pRasterizationState
public static final long OFFSET$pRasterizationState -
OFFSET$pMultisampleState
public static final long OFFSET$pMultisampleState -
OFFSET$pDepthStencilState
public static final long OFFSET$pDepthStencilState -
OFFSET$pColorBlendState
public static final long OFFSET$pColorBlendState -
OFFSET$pDynamicState
public static final long OFFSET$pDynamicState -
OFFSET$layout
public static final long OFFSET$layout -
OFFSET$renderPass
public static final long OFFSET$renderPass -
OFFSET$subpass
public static final long OFFSET$subpass -
OFFSET$basePipelineHandle
public static final long OFFSET$basePipelineHandle -
OFFSET$basePipelineIndex
public static final long OFFSET$basePipelineIndex
-
-
Constructor Details
-
VkGraphicsPipelineCreateInfo
Creates an instance of aVkGraphicsPipelineCreateInforecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
public VkGraphicsPipelineCreateInfo pNext(@Pointer(comment="void*") @NotNull @NotNull MemorySegment value) -
pNext
-
flags
-
flags
-
stageCount
-
stageCount
-
pStages
public VkGraphicsPipelineCreateInfo pStages(@Nullable @Nullable IVkPipelineShaderStageCreateInfo value) -
pStages
-
pStages
-
pStagesRaw
@Pointer(target=VkPipelineShaderStageCreateInfo.class) @NotNull public @NotNull MemorySegment pStagesRaw() -
pStagesRaw
public void pStagesRaw(@Pointer(target=VkPipelineShaderStageCreateInfo.class) @NotNull @NotNull MemorySegment value) -
pVertexInputState
public VkGraphicsPipelineCreateInfo pVertexInputState(@Nullable @Nullable IVkPipelineVertexInputStateCreateInfo value) -
pVertexInputState
@Unsafe @Nullable public VkPipelineVertexInputStateCreateInfo.Ptr pVertexInputState(int assumedCount) -
pVertexInputState
-
pVertexInputStateRaw
@Pointer(target=VkPipelineVertexInputStateCreateInfo.class) @NotNull public @NotNull MemorySegment pVertexInputStateRaw() -
pVertexInputStateRaw
public void pVertexInputStateRaw(@Pointer(target=VkPipelineVertexInputStateCreateInfo.class) @NotNull @NotNull MemorySegment value) -
pInputAssemblyState
public VkGraphicsPipelineCreateInfo pInputAssemblyState(@Nullable @Nullable IVkPipelineInputAssemblyStateCreateInfo value) -
pInputAssemblyState
@Unsafe @Nullable public VkPipelineInputAssemblyStateCreateInfo.Ptr pInputAssemblyState(int assumedCount) -
pInputAssemblyState
-
pInputAssemblyStateRaw
@Pointer(target=VkPipelineInputAssemblyStateCreateInfo.class) @NotNull public @NotNull MemorySegment pInputAssemblyStateRaw() -
pInputAssemblyStateRaw
public void pInputAssemblyStateRaw(@Pointer(target=VkPipelineInputAssemblyStateCreateInfo.class) @NotNull @NotNull MemorySegment value) -
pTessellationState
public VkGraphicsPipelineCreateInfo pTessellationState(@Nullable @Nullable IVkPipelineTessellationStateCreateInfo value) -
pTessellationState
@Unsafe @Nullable public VkPipelineTessellationStateCreateInfo.Ptr pTessellationState(int assumedCount) -
pTessellationState
-
pTessellationStateRaw
@Pointer(target=VkPipelineTessellationStateCreateInfo.class) @NotNull public @NotNull MemorySegment pTessellationStateRaw() -
pTessellationStateRaw
public void pTessellationStateRaw(@Pointer(target=VkPipelineTessellationStateCreateInfo.class) @NotNull @NotNull MemorySegment value) -
pViewportState
public VkGraphicsPipelineCreateInfo pViewportState(@Nullable @Nullable IVkPipelineViewportStateCreateInfo value) -
pViewportState
-
pViewportState
-
pViewportStateRaw
@Pointer(target=VkPipelineViewportStateCreateInfo.class) @NotNull public @NotNull MemorySegment pViewportStateRaw() -
pViewportStateRaw
public void pViewportStateRaw(@Pointer(target=VkPipelineViewportStateCreateInfo.class) @NotNull @NotNull MemorySegment value) -
pRasterizationState
public VkGraphicsPipelineCreateInfo pRasterizationState(@Nullable @Nullable IVkPipelineRasterizationStateCreateInfo value) -
pRasterizationState
@Unsafe @Nullable public VkPipelineRasterizationStateCreateInfo.Ptr pRasterizationState(int assumedCount) -
pRasterizationState
-
pRasterizationStateRaw
@Pointer(target=VkPipelineRasterizationStateCreateInfo.class) @NotNull public @NotNull MemorySegment pRasterizationStateRaw() -
pRasterizationStateRaw
public void pRasterizationStateRaw(@Pointer(target=VkPipelineRasterizationStateCreateInfo.class) @NotNull @NotNull MemorySegment value) -
pMultisampleState
public VkGraphicsPipelineCreateInfo pMultisampleState(@Nullable @Nullable IVkPipelineMultisampleStateCreateInfo value) -
pMultisampleState
@Unsafe @Nullable public VkPipelineMultisampleStateCreateInfo.Ptr pMultisampleState(int assumedCount) -
pMultisampleState
-
pMultisampleStateRaw
@Pointer(target=VkPipelineMultisampleStateCreateInfo.class) @NotNull public @NotNull MemorySegment pMultisampleStateRaw() -
pMultisampleStateRaw
public void pMultisampleStateRaw(@Pointer(target=VkPipelineMultisampleStateCreateInfo.class) @NotNull @NotNull MemorySegment value) -
pDepthStencilState
public VkGraphicsPipelineCreateInfo pDepthStencilState(@Nullable @Nullable IVkPipelineDepthStencilStateCreateInfo value) -
pDepthStencilState
@Unsafe @Nullable public VkPipelineDepthStencilStateCreateInfo.Ptr pDepthStencilState(int assumedCount) -
pDepthStencilState
-
pDepthStencilStateRaw
@Pointer(target=VkPipelineDepthStencilStateCreateInfo.class) @NotNull public @NotNull MemorySegment pDepthStencilStateRaw() -
pDepthStencilStateRaw
public void pDepthStencilStateRaw(@Pointer(target=VkPipelineDepthStencilStateCreateInfo.class) @NotNull @NotNull MemorySegment value) -
pColorBlendState
public VkGraphicsPipelineCreateInfo pColorBlendState(@Nullable @Nullable IVkPipelineColorBlendStateCreateInfo value) -
pColorBlendState
-
pColorBlendState
-
pColorBlendStateRaw
@Pointer(target=VkPipelineColorBlendStateCreateInfo.class) @NotNull public @NotNull MemorySegment pColorBlendStateRaw() -
pColorBlendStateRaw
public void pColorBlendStateRaw(@Pointer(target=VkPipelineColorBlendStateCreateInfo.class) @NotNull @NotNull MemorySegment value) -
pDynamicState
public VkGraphicsPipelineCreateInfo pDynamicState(@Nullable @Nullable IVkPipelineDynamicStateCreateInfo value) -
pDynamicState
-
pDynamicState
-
pDynamicStateRaw
@Pointer(target=VkPipelineDynamicStateCreateInfo.class) @NotNull public @NotNull MemorySegment pDynamicStateRaw() -
pDynamicStateRaw
public void pDynamicStateRaw(@Pointer(target=VkPipelineDynamicStateCreateInfo.class) @NotNull @NotNull MemorySegment value) -
layout
-
layout
-
renderPass
-
renderPass
-
subpass
-
subpass
-
basePipelineHandle
-
basePipelineHandle
-
basePipelineIndex
public int basePipelineIndex() -
basePipelineIndex
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
segment
Returns the value of thesegmentrecord component.
-