- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- LAYOUT
- 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
- SIZE$pNext
- SIZE$flags
- SIZE$stageCount
- SIZE$pStages
- SIZE$pVertexInputState
- SIZE$pInputAssemblyState
- SIZE$pTessellationState
- SIZE$pViewportState
- SIZE$pRasterizationState
- SIZE$pMultisampleState
- SIZE$pDepthStencilState
- SIZE$pColorBlendState
- SIZE$pDynamicState
- SIZE$layout
- SIZE$renderPass
- SIZE$subpass
- SIZE$basePipelineHandle
- SIZE$basePipelineIndex
- OFFSET$sType
- OFFSET$pNext
- OFFSET$flags
- OFFSET$stageCount
- OFFSET$pStages
- OFFSET$pVertexInputState
- OFFSET$pInputAssemblyState
- OFFSET$pTessellationState
- OFFSET$pViewportState
- OFFSET$pRasterizationState
- OFFSET$pMultisampleState
- OFFSET$pDepthStencilState
- OFFSET$pColorBlendState
- OFFSET$pDynamicState
- OFFSET$layout
- OFFSET$renderPass
- OFFSET$subpass
- OFFSET$basePipelineHandle
- OFFSET$basePipelineIndex
- Constructor Details
- Method Details
- allocate(Arena)
- allocate(Arena, long)
- clone(Arena, VkGraphicsPipelineCreateInfo)
- autoInit()
- sType()
- sType(int)
- pNext()
- pNext(MemorySegment)
- pNext(IPointer)
- flags()
- flags(int)
- stageCount()
- stageCount(int)
- pStages(IVkPipelineShaderStageCreateInfo)
- pStages(int)
- pStages()
- pStagesRaw()
- pStagesRaw(MemorySegment)
- pVertexInputState(IVkPipelineVertexInputStateCreateInfo)
- pVertexInputState(int)
- pVertexInputState()
- pVertexInputStateRaw()
- pVertexInputStateRaw(MemorySegment)
- pInputAssemblyState(IVkPipelineInputAssemblyStateCreateInfo)
- pInputAssemblyState(int)
- pInputAssemblyState()
- pInputAssemblyStateRaw()
- pInputAssemblyStateRaw(MemorySegment)
- pTessellationState(IVkPipelineTessellationStateCreateInfo)
- pTessellationState(int)
- pTessellationState()
- pTessellationStateRaw()
- pTessellationStateRaw(MemorySegment)
- pViewportState(IVkPipelineViewportStateCreateInfo)
- pViewportState(int)
- pViewportState()
- pViewportStateRaw()
- pViewportStateRaw(MemorySegment)
- pRasterizationState(IVkPipelineRasterizationStateCreateInfo)
- pRasterizationState(int)
- pRasterizationState()
- pRasterizationStateRaw()
- pRasterizationStateRaw(MemorySegment)
- pMultisampleState(IVkPipelineMultisampleStateCreateInfo)
- pMultisampleState(int)
- pMultisampleState()
- pMultisampleStateRaw()
- pMultisampleStateRaw(MemorySegment)
- pDepthStencilState(IVkPipelineDepthStencilStateCreateInfo)
- pDepthStencilState(int)
- pDepthStencilState()
- pDepthStencilStateRaw()
- pDepthStencilStateRaw(MemorySegment)
- pColorBlendState(IVkPipelineColorBlendStateCreateInfo)
- pColorBlendState(int)
- pColorBlendState()
- pColorBlendStateRaw()
- pColorBlendStateRaw(MemorySegment)
- pDynamicState(IVkPipelineDynamicStateCreateInfo)
- pDynamicState(int)
- pDynamicState()
- pDynamicStateRaw()
- pDynamicStateRaw(MemorySegment)
- layout()
- layout(VkPipelineLayout)
- renderPass()
- renderPass(VkRenderPass)
- subpass()
- subpass(int)
- basePipelineHandle()
- basePipelineHandle(VkPipeline)
- basePipelineIndex()
- basePipelineIndex(int)
- toString()
- hashCode()
- equals(Object)
- segment()
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 record
Represents a pointer to / an array ofVkGraphicsPipelineCreateInfo
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final AddressLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkGraphicsPipelineCreateInfo
(@NotNull MemorySegment segment) Creates an instance of aVkGraphicsPipelineCreateInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkGraphicsPipelineCreateInfo
void
autoInit()
@Nullable VkPipeline
basePipelineHandle
(@Nullable VkPipeline value) int
basePipelineIndex
(int value) static VkGraphicsPipelineCreateInfo
clone
(Arena arena, VkGraphicsPipelineCreateInfo src) final boolean
Indicates whether some other object is "equal to" this one.int
flags()
flags
(int value) final int
hashCode()
Returns a hash code value for this object.@Nullable VkPipelineLayout
layout()
layout
(@Nullable VkPipelineLayout value) @Nullable VkPipelineColorBlendStateCreateInfo
pColorBlendState
(int assumedCount) pColorBlendState
(@Nullable IVkPipelineColorBlendStateCreateInfo value) @NotNull MemorySegment
void
pColorBlendStateRaw
(@NotNull MemorySegment value) @Nullable VkPipelineDepthStencilStateCreateInfo
pDepthStencilState
(int assumedCount) pDepthStencilState
(@Nullable IVkPipelineDepthStencilStateCreateInfo value) @NotNull MemorySegment
void
pDepthStencilStateRaw
(@NotNull MemorySegment value) @Nullable VkPipelineDynamicStateCreateInfo
pDynamicState
(int assumedCount) pDynamicState
(@Nullable IVkPipelineDynamicStateCreateInfo value) @NotNull MemorySegment
void
pDynamicStateRaw
(@NotNull MemorySegment value) @Nullable VkPipelineInputAssemblyStateCreateInfo
pInputAssemblyState
(int assumedCount) pInputAssemblyState
(@Nullable IVkPipelineInputAssemblyStateCreateInfo value) @NotNull MemorySegment
void
pInputAssemblyStateRaw
(@NotNull MemorySegment value) @Nullable VkPipelineMultisampleStateCreateInfo
pMultisampleState
(int assumedCount) pMultisampleState
(@Nullable IVkPipelineMultisampleStateCreateInfo value) @NotNull MemorySegment
void
pMultisampleStateRaw
(@NotNull MemorySegment value) @NotNull MemorySegment
pNext()
pNext
(@NotNull MemorySegment value) @Nullable VkPipelineRasterizationStateCreateInfo
pRasterizationState
(int assumedCount) pRasterizationState
(@Nullable IVkPipelineRasterizationStateCreateInfo value) @NotNull MemorySegment
void
pRasterizationStateRaw
(@NotNull MemorySegment value) @Nullable VkPipelineShaderStageCreateInfo
pStages()
pStages
(int assumedCount) pStages
(@Nullable IVkPipelineShaderStageCreateInfo value) @NotNull MemorySegment
void
pStagesRaw
(@NotNull MemorySegment value) @Nullable VkPipelineTessellationStateCreateInfo
pTessellationState
(int assumedCount) pTessellationState
(@Nullable IVkPipelineTessellationStateCreateInfo value) @NotNull MemorySegment
void
pTessellationStateRaw
(@NotNull MemorySegment value) @Nullable VkPipelineVertexInputStateCreateInfo
pVertexInputState
(int assumedCount) pVertexInputState
(@Nullable IVkPipelineVertexInputStateCreateInfo value) @NotNull MemorySegment
void
pVertexInputStateRaw
(@NotNull MemorySegment value) @Nullable VkPipelineViewportStateCreateInfo
pViewportState
(int assumedCount) pViewportState
(@Nullable IVkPipelineViewportStateCreateInfo value) @NotNull MemorySegment
void
pViewportStateRaw
(@NotNull MemorySegment value) @Nullable VkRenderPass
renderPass
(@Nullable VkRenderPass value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
stageCount
(int value) int
sType()
sType
(int value) int
subpass()
subpass
(int value) final String
toString()
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
-
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 thesegment
record component.
-