Package org.lwjgl.vulkan
Class VkGraphicsPipelineCreateInfo
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class VkGraphicsPipelineCreateInfo
extends Struct<VkGraphicsPipelineCreateInfo>
implements NativeResource
struct VkGraphicsPipelineCreateInfo {
VkStructureType sType;
void const * pNext;
VkPipelineCreateFlags flags;
uint32_t stageCount;
{@link VkPipelineShaderStageCreateInfo VkPipelineShaderStageCreateInfo} const * pStages;
{@link VkPipelineVertexInputStateCreateInfo VkPipelineVertexInputStateCreateInfo} const * pVertexInputState;
{@link VkPipelineInputAssemblyStateCreateInfo VkPipelineInputAssemblyStateCreateInfo} const * pInputAssemblyState;
{@link VkPipelineTessellationStateCreateInfo VkPipelineTessellationStateCreateInfo} const * pTessellationState;
{@link VkPipelineViewportStateCreateInfo VkPipelineViewportStateCreateInfo} const * pViewportState;
{@link VkPipelineRasterizationStateCreateInfo VkPipelineRasterizationStateCreateInfo} const * pRasterizationState;
{@link VkPipelineMultisampleStateCreateInfo VkPipelineMultisampleStateCreateInfo} const * pMultisampleState;
{@link VkPipelineDepthStencilStateCreateInfo VkPipelineDepthStencilStateCreateInfo} const * pDepthStencilState;
{@link VkPipelineColorBlendStateCreateInfo VkPipelineColorBlendStateCreateInfo} const * pColorBlendState;
{@link VkPipelineDynamicStateCreateInfo VkPipelineDynamicStateCreateInfo} const * pDynamicState;
VkPipelineLayout layout;
VkRenderPass renderPass;
uint32_t subpass;
VkPipeline basePipelineHandle;
int32_t basePipelineIndex;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkGraphicsPipelineCreateInfo
(ByteBuffer container) Creates aVkGraphicsPipelineCreateInfo
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionlong
basePipelineHandle
(long value) Sets the specified value to thebasePipelineHandle
field.int
basePipelineIndex
(int value) Sets the specified value to thebasePipelineIndex
field.static VkGraphicsPipelineCreateInfo
calloc()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkGraphicsPipelineCreateInfo
calloc
(MemoryStack stack) Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkGraphicsPipelineCreateInfo
Deprecated.callocStack
(int capacity) Deprecated.callocStack
(int capacity, MemoryStack stack) Deprecated.static VkGraphicsPipelineCreateInfo
callocStack
(MemoryStack stack) Deprecated.static VkGraphicsPipelineCreateInfo
create()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withBufferUtils
.static VkGraphicsPipelineCreateInfo
create
(long address) Returns a newVkGraphicsPipelineCreateInfo
instance for the specified memory address.create
(long address, int capacity) Create aVkGraphicsPipelineCreateInfo.Buffer
instance at the specified memory.static @Nullable VkGraphicsPipelineCreateInfo
createSafe
(long address) static @Nullable VkGraphicsPipelineCreateInfo.Buffer
createSafe
(long address, int capacity) int
flags()
flags
(int value) Sets the specified value to theflags
field.long
layout()
layout
(long value) Sets the specified value to thelayout
field.static VkGraphicsPipelineCreateInfo
malloc()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
.static VkGraphicsPipelineCreateInfo
malloc
(MemoryStack stack) Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the specifiedMemoryStack
.static VkGraphicsPipelineCreateInfo
Deprecated.mallocStack
(int capacity) Deprecated.mallocStack
(int capacity, MemoryStack stack) Deprecated.static VkGraphicsPipelineCreateInfo
mallocStack
(MemoryStack stack) Deprecated.static long
nbasePipelineHandle
(long struct) Unsafe version ofbasePipelineHandle()
.static void
nbasePipelineHandle
(long struct, long value) Unsafe version ofbasePipelineHandle
.static int
nbasePipelineIndex
(long struct) Unsafe version ofbasePipelineIndex()
.static void
nbasePipelineIndex
(long struct, int value) Unsafe version ofbasePipelineIndex
.static int
nflags
(long struct) Unsafe version offlags()
.static void
nflags
(long struct, int value) Unsafe version offlags
.static long
nlayout
(long struct) Unsafe version oflayout()
.static void
nlayout
(long struct, long value) Unsafe version oflayout
.static @Nullable VkPipelineColorBlendStateCreateInfo
npColorBlendState
(long struct) Unsafe version ofpColorBlendState()
.static void
npColorBlendState
(long struct, @Nullable VkPipelineColorBlendStateCreateInfo value) Unsafe version ofpColorBlendState
.static @Nullable VkPipelineDepthStencilStateCreateInfo
npDepthStencilState
(long struct) Unsafe version ofpDepthStencilState()
.static void
npDepthStencilState
(long struct, @Nullable VkPipelineDepthStencilStateCreateInfo value) Unsafe version ofpDepthStencilState
.static @Nullable VkPipelineDynamicStateCreateInfo
npDynamicState
(long struct) Unsafe version ofpDynamicState()
.static void
npDynamicState
(long struct, @Nullable VkPipelineDynamicStateCreateInfo value) Unsafe version ofpDynamicState
.static @Nullable VkPipelineInputAssemblyStateCreateInfo
npInputAssemblyState
(long struct) Unsafe version ofpInputAssemblyState()
.static void
npInputAssemblyState
(long struct, @Nullable VkPipelineInputAssemblyStateCreateInfo value) Unsafe version ofpInputAssemblyState
.static @Nullable VkPipelineMultisampleStateCreateInfo
npMultisampleState
(long struct) Unsafe version ofpMultisampleState()
.static void
npMultisampleState
(long struct, @Nullable VkPipelineMultisampleStateCreateInfo value) Unsafe version ofpMultisampleState
.static long
npNext
(long struct) Unsafe version ofpNext()
.static void
npNext
(long struct, long value) Unsafe version ofpNext
.static @Nullable VkPipelineRasterizationStateCreateInfo
npRasterizationState
(long struct) Unsafe version ofpRasterizationState()
.static void
npRasterizationState
(long struct, @Nullable VkPipelineRasterizationStateCreateInfo value) Unsafe version ofpRasterizationState
.static @Nullable VkPipelineShaderStageCreateInfo.Buffer
npStages
(long struct) Unsafe version ofpStages()
.static void
npStages
(long struct, @Nullable VkPipelineShaderStageCreateInfo.Buffer value) Unsafe version ofpStages
.static @Nullable VkPipelineTessellationStateCreateInfo
npTessellationState
(long struct) Unsafe version ofpTessellationState()
.static void
npTessellationState
(long struct, @Nullable VkPipelineTessellationStateCreateInfo value) Unsafe version ofpTessellationState
.static @Nullable VkPipelineVertexInputStateCreateInfo
npVertexInputState
(long struct) Unsafe version ofpVertexInputState()
.static void
npVertexInputState
(long struct, @Nullable VkPipelineVertexInputStateCreateInfo value) Unsafe version ofpVertexInputState
.static @Nullable VkPipelineViewportStateCreateInfo
npViewportState
(long struct) Unsafe version ofpViewportState()
.static void
npViewportState
(long struct, @Nullable VkPipelineViewportStateCreateInfo value) Unsafe version ofpViewportState
.static long
nrenderPass
(long struct) Unsafe version ofrenderPass()
.static void
nrenderPass
(long struct, long value) Unsafe version ofrenderPass
.static int
nstageCount
(long struct) Unsafe version ofstageCount()
.static void
nstageCount
(long struct, int value) Sets the specified value to thestageCount
field of the specifiedstruct
.static int
nsType
(long struct) Unsafe version ofsType()
.static void
nsType
(long struct, int value) Unsafe version ofsType
.static int
nsubpass
(long struct) Unsafe version ofsubpass()
.static void
nsubpass
(long struct, int value) Unsafe version ofsubpass
.@Nullable VkPipelineColorBlendStateCreateInfo
pColorBlendState
(@Nullable VkPipelineColorBlendStateCreateInfo value) Sets the address of the specifiedVkPipelineColorBlendStateCreateInfo
to thepColorBlendState
field.@Nullable VkPipelineDepthStencilStateCreateInfo
pDepthStencilState
(@Nullable VkPipelineDepthStencilStateCreateInfo value) Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfo
to thepDepthStencilState
field.@Nullable VkPipelineDynamicStateCreateInfo
pDynamicState
(@Nullable VkPipelineDynamicStateCreateInfo value) Sets the address of the specifiedVkPipelineDynamicStateCreateInfo
to thepDynamicState
field.@Nullable VkPipelineInputAssemblyStateCreateInfo
pInputAssemblyState
(@Nullable VkPipelineInputAssemblyStateCreateInfo value) Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfo
to thepInputAssemblyState
field.@Nullable VkPipelineMultisampleStateCreateInfo
pMultisampleState
(@Nullable VkPipelineMultisampleStateCreateInfo value) Sets the address of the specifiedVkPipelineMultisampleStateCreateInfo
to thepMultisampleState
field.long
pNext()
pNext
(long value) Sets the specified value to thepNext
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.pNext
(VkPipelineBinaryInfoKHR value) Prepends the specifiedVkPipelineBinaryInfoKHR
value to thepNext
chain.Prepends the specifiedVkPipelineCompilerControlCreateInfoAMD
value to thepNext
chain.Prepends the specifiedVkPipelineCreateFlags2CreateInfo
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 specifiedVkPipelineRobustnessCreateInfo
value to thepNext
chain.Prepends the specifiedVkPipelineRobustnessCreateInfoEXT
value to thepNext
chain.Prepends the specifiedVkRenderingAttachmentLocationInfo
value to thepNext
chain.Prepends the specifiedVkRenderingAttachmentLocationInfoKHR
value to thepNext
chain.Prepends the specifiedVkRenderingInputAttachmentIndexInfo
value to thepNext
chain.Prepends the specifiedVkRenderingInputAttachmentIndexInfoKHR
value to thepNext
chain.@Nullable VkPipelineRasterizationStateCreateInfo
pRasterizationState
(@Nullable VkPipelineRasterizationStateCreateInfo value) Sets the address of the specifiedVkPipelineRasterizationStateCreateInfo
to thepRasterizationState
field.@Nullable VkPipelineShaderStageCreateInfo.Buffer
pStages()
pStages
(@Nullable VkPipelineShaderStageCreateInfo.Buffer value) Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Buffer
to thepStages
field.@Nullable VkPipelineTessellationStateCreateInfo
pTessellationState
(@Nullable VkPipelineTessellationStateCreateInfo value) Sets the address of the specifiedVkPipelineTessellationStateCreateInfo
to thepTessellationState
field.@Nullable VkPipelineVertexInputStateCreateInfo
pVertexInputState
(@Nullable VkPipelineVertexInputStateCreateInfo value) Sets the address of the specifiedVkPipelineVertexInputStateCreateInfo
to thepVertexInputState
field.@Nullable VkPipelineViewportStateCreateInfo
pViewportState
(@Nullable VkPipelineViewportStateCreateInfo value) Sets the address of the specifiedVkPipelineViewportStateCreateInfo
to thepViewportState
field.long
renderPass
(long value) Sets the specified value to therenderPass
field.set
(int sType, long pNext, int flags, int stageCount, @Nullable VkPipelineShaderStageCreateInfo.Buffer pStages, @Nullable VkPipelineVertexInputStateCreateInfo pVertexInputState, @Nullable VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState, @Nullable VkPipelineTessellationStateCreateInfo pTessellationState, @Nullable VkPipelineViewportStateCreateInfo pViewportState, @Nullable VkPipelineRasterizationStateCreateInfo pRasterizationState, @Nullable VkPipelineMultisampleStateCreateInfo pMultisampleState, @Nullable VkPipelineDepthStencilStateCreateInfo pDepthStencilState, @Nullable VkPipelineColorBlendStateCreateInfo pColorBlendState, @Nullable VkPipelineDynamicStateCreateInfo pDynamicState, long layout, long renderPass, int subpass, long basePipelineHandle, int basePipelineIndex) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.int
stageCount
(int value) Sets the specified value to thestageCount
field.int
sType()
sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO
value to thesType
field.int
subpass()
subpass
(int value) Sets the specified value to thesubpass
field.static void
validate
(long struct) Validates pointer members that should not beNULL
.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
FLAGS
public static final int FLAGSThe struct member offsets. -
STAGECOUNT
public static final int STAGECOUNTThe struct member offsets. -
PSTAGES
public static final int PSTAGESThe struct member offsets. -
PVERTEXINPUTSTATE
public static final int PVERTEXINPUTSTATEThe struct member offsets. -
PINPUTASSEMBLYSTATE
public static final int PINPUTASSEMBLYSTATEThe struct member offsets. -
PTESSELLATIONSTATE
public static final int PTESSELLATIONSTATEThe struct member offsets. -
PVIEWPORTSTATE
public static final int PVIEWPORTSTATEThe struct member offsets. -
PRASTERIZATIONSTATE
public static final int PRASTERIZATIONSTATEThe struct member offsets. -
PMULTISAMPLESTATE
public static final int PMULTISAMPLESTATEThe struct member offsets. -
PDEPTHSTENCILSTATE
public static final int PDEPTHSTENCILSTATEThe struct member offsets. -
PCOLORBLENDSTATE
public static final int PCOLORBLENDSTATEThe struct member offsets. -
PDYNAMICSTATE
public static final int PDYNAMICSTATEThe struct member offsets. -
LAYOUT
public static final int LAYOUTThe struct member offsets. -
RENDERPASS
public static final int RENDERPASSThe struct member offsets. -
SUBPASS
public static final int SUBPASSThe struct member offsets. -
BASEPIPELINEHANDLE
public static final int BASEPIPELINEHANDLEThe struct member offsets. -
BASEPIPELINEINDEX
public static final int BASEPIPELINEINDEXThe struct member offsets.
-
-
Constructor Details
-
VkGraphicsPipelineCreateInfo
Creates aVkGraphicsPipelineCreateInfo
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkGraphicsPipelineCreateInfo>
-
sType
public int sType()- Returns:
- the value of the
sType
field.
-
pNext
public long pNext()- Returns:
- the value of the
pNext
field.
-
flags
public int flags()- Returns:
- the value of the
flags
field.
-
stageCount
public int stageCount()- Returns:
- the value of the
stageCount
field.
-
pStages
- Returns:
- a
VkPipelineShaderStageCreateInfo.Buffer
view of the struct array pointed to by thepStages
field.
-
pVertexInputState
- Returns:
- a
VkPipelineVertexInputStateCreateInfo
view of the struct pointed to by thepVertexInputState
field.
-
pInputAssemblyState
- Returns:
- a
VkPipelineInputAssemblyStateCreateInfo
view of the struct pointed to by thepInputAssemblyState
field.
-
pTessellationState
- Returns:
- a
VkPipelineTessellationStateCreateInfo
view of the struct pointed to by thepTessellationState
field.
-
pViewportState
- Returns:
- a
VkPipelineViewportStateCreateInfo
view of the struct pointed to by thepViewportState
field.
-
pRasterizationState
- Returns:
- a
VkPipelineRasterizationStateCreateInfo
view of the struct pointed to by thepRasterizationState
field.
-
pMultisampleState
- Returns:
- a
VkPipelineMultisampleStateCreateInfo
view of the struct pointed to by thepMultisampleState
field.
-
pDepthStencilState
- Returns:
- a
VkPipelineDepthStencilStateCreateInfo
view of the struct pointed to by thepDepthStencilState
field.
-
pColorBlendState
- Returns:
- a
VkPipelineColorBlendStateCreateInfo
view of the struct pointed to by thepColorBlendState
field.
-
pDynamicState
- Returns:
- a
VkPipelineDynamicStateCreateInfo
view of the struct pointed to by thepDynamicState
field.
-
layout
public long layout()- Returns:
- the value of the
layout
field.
-
renderPass
public long renderPass()- Returns:
- the value of the
renderPass
field.
-
subpass
public int subpass()- Returns:
- the value of the
subpass
field.
-
basePipelineHandle
public long basePipelineHandle()- Returns:
- the value of the
basePipelineHandle
field.
-
basePipelineIndex
public int basePipelineIndex()- Returns:
- the value of the
basePipelineIndex
field.
-
sType
Sets the specified value to thesType
field. -
sType$Default
Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO
value to thesType
field. -
pNext
Sets the specified value to thepNext
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 specifiedVkPipelineBinaryInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineCompilerControlCreateInfoAMD
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineCreateFlags2CreateInfo
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
Prepends the specifiedVkPipelineDiscardRectangleStateCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineFragmentShadingRateEnumStateCreateInfoNV
value to thepNext
chain. -
pNext
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 pNext(VkPipelineRepresentativeFragmentTestStateCreateInfoNV value) Prepends the specifiedVkPipelineRepresentativeFragmentTestStateCreateInfoNV
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineRobustnessCreateInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkPipelineRobustnessCreateInfoEXT
value to thepNext
chain. -
pNext
Prepends the specifiedVkRenderingAttachmentLocationInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkRenderingAttachmentLocationInfoKHR
value to thepNext
chain. -
pNext
Prepends the specifiedVkRenderingInputAttachmentIndexInfo
value to thepNext
chain. -
pNext
Prepends the specifiedVkRenderingInputAttachmentIndexInfoKHR
value to thepNext
chain. -
flags
Sets the specified value to theflags
field. -
stageCount
Sets the specified value to thestageCount
field. -
pStages
Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Buffer
to thepStages
field. -
pVertexInputState
public VkGraphicsPipelineCreateInfo pVertexInputState(@Nullable VkPipelineVertexInputStateCreateInfo value) Sets the address of the specifiedVkPipelineVertexInputStateCreateInfo
to thepVertexInputState
field. -
pInputAssemblyState
public VkGraphicsPipelineCreateInfo pInputAssemblyState(@Nullable VkPipelineInputAssemblyStateCreateInfo value) Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfo
to thepInputAssemblyState
field. -
pTessellationState
public VkGraphicsPipelineCreateInfo pTessellationState(@Nullable VkPipelineTessellationStateCreateInfo value) Sets the address of the specifiedVkPipelineTessellationStateCreateInfo
to thepTessellationState
field. -
pViewportState
public VkGraphicsPipelineCreateInfo pViewportState(@Nullable VkPipelineViewportStateCreateInfo value) Sets the address of the specifiedVkPipelineViewportStateCreateInfo
to thepViewportState
field. -
pRasterizationState
public VkGraphicsPipelineCreateInfo pRasterizationState(@Nullable VkPipelineRasterizationStateCreateInfo value) Sets the address of the specifiedVkPipelineRasterizationStateCreateInfo
to thepRasterizationState
field. -
pMultisampleState
public VkGraphicsPipelineCreateInfo pMultisampleState(@Nullable VkPipelineMultisampleStateCreateInfo value) Sets the address of the specifiedVkPipelineMultisampleStateCreateInfo
to thepMultisampleState
field. -
pDepthStencilState
public VkGraphicsPipelineCreateInfo pDepthStencilState(@Nullable VkPipelineDepthStencilStateCreateInfo value) Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfo
to thepDepthStencilState
field. -
pColorBlendState
public VkGraphicsPipelineCreateInfo pColorBlendState(@Nullable VkPipelineColorBlendStateCreateInfo value) Sets the address of the specifiedVkPipelineColorBlendStateCreateInfo
to thepColorBlendState
field. -
pDynamicState
Sets the address of the specifiedVkPipelineDynamicStateCreateInfo
to thepDynamicState
field. -
layout
Sets the specified value to thelayout
field. -
renderPass
Sets the specified value to therenderPass
field. -
subpass
Sets the specified value to thesubpass
field. -
basePipelineHandle
Sets the specified value to thebasePipelineHandle
field. -
basePipelineIndex
Sets the specified value to thebasePipelineIndex
field. -
set
public VkGraphicsPipelineCreateInfo set(int sType, long pNext, int flags, int stageCount, @Nullable VkPipelineShaderStageCreateInfo.Buffer pStages, @Nullable VkPipelineVertexInputStateCreateInfo pVertexInputState, @Nullable VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState, @Nullable VkPipelineTessellationStateCreateInfo pTessellationState, @Nullable VkPipelineViewportStateCreateInfo pViewportState, @Nullable VkPipelineRasterizationStateCreateInfo pRasterizationState, @Nullable VkPipelineMultisampleStateCreateInfo pMultisampleState, @Nullable VkPipelineDepthStencilStateCreateInfo pDepthStencilState, @Nullable VkPipelineColorBlendStateCreateInfo pColorBlendState, @Nullable VkPipelineDynamicStateCreateInfo pDynamicState, long layout, long renderPass, int subpass, long basePipelineHandle, int basePipelineIndex) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withBufferUtils
. -
create
Returns a newVkGraphicsPipelineCreateInfo
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkGraphicsPipelineCreateInfo.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
mallocStack
@Deprecated public static VkGraphicsPipelineCreateInfo.Buffer mallocStack(int capacity, MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
@Deprecated public static VkGraphicsPipelineCreateInfo.Buffer callocStack(int capacity, MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
malloc
Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType()
. -
npNext
public static long npNext(long struct) Unsafe version ofpNext()
. -
nflags
public static int nflags(long struct) Unsafe version offlags()
. -
nstageCount
public static int nstageCount(long struct) Unsafe version ofstageCount()
. -
npStages
Unsafe version ofpStages()
. -
npVertexInputState
Unsafe version ofpVertexInputState()
. -
npInputAssemblyState
Unsafe version ofpInputAssemblyState()
. -
npTessellationState
Unsafe version ofpTessellationState()
. -
npViewportState
Unsafe version ofpViewportState()
. -
npRasterizationState
Unsafe version ofpRasterizationState()
. -
npMultisampleState
Unsafe version ofpMultisampleState()
. -
npDepthStencilState
Unsafe version ofpDepthStencilState()
. -
npColorBlendState
Unsafe version ofpColorBlendState()
. -
npDynamicState
Unsafe version ofpDynamicState()
. -
nlayout
public static long nlayout(long struct) Unsafe version oflayout()
. -
nrenderPass
public static long nrenderPass(long struct) Unsafe version ofrenderPass()
. -
nsubpass
public static int nsubpass(long struct) Unsafe version ofsubpass()
. -
nbasePipelineHandle
public static long nbasePipelineHandle(long struct) Unsafe version ofbasePipelineHandle()
. -
nbasePipelineIndex
public static int nbasePipelineIndex(long struct) Unsafe version ofbasePipelineIndex()
. -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType
. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext
. -
nflags
public static void nflags(long struct, int value) Unsafe version offlags
. -
nstageCount
public static void nstageCount(long struct, int value) Sets the specified value to thestageCount
field of the specifiedstruct
. -
npStages
Unsafe version ofpStages
. -
npVertexInputState
public static void npVertexInputState(long struct, @Nullable VkPipelineVertexInputStateCreateInfo value) Unsafe version ofpVertexInputState
. -
npInputAssemblyState
public static void npInputAssemblyState(long struct, @Nullable VkPipelineInputAssemblyStateCreateInfo value) Unsafe version ofpInputAssemblyState
. -
npTessellationState
public static void npTessellationState(long struct, @Nullable VkPipelineTessellationStateCreateInfo value) Unsafe version ofpTessellationState
. -
npViewportState
Unsafe version ofpViewportState
. -
npRasterizationState
public static void npRasterizationState(long struct, @Nullable VkPipelineRasterizationStateCreateInfo value) Unsafe version ofpRasterizationState
. -
npMultisampleState
public static void npMultisampleState(long struct, @Nullable VkPipelineMultisampleStateCreateInfo value) Unsafe version ofpMultisampleState
. -
npDepthStencilState
public static void npDepthStencilState(long struct, @Nullable VkPipelineDepthStencilStateCreateInfo value) Unsafe version ofpDepthStencilState
. -
npColorBlendState
public static void npColorBlendState(long struct, @Nullable VkPipelineColorBlendStateCreateInfo value) Unsafe version ofpColorBlendState
. -
npDynamicState
Unsafe version ofpDynamicState
. -
nlayout
public static void nlayout(long struct, long value) Unsafe version oflayout
. -
nrenderPass
public static void nrenderPass(long struct, long value) Unsafe version ofrenderPass
. -
nsubpass
public static void nsubpass(long struct, int value) Unsafe version ofsubpass
. -
nbasePipelineHandle
public static void nbasePipelineHandle(long struct, long value) Unsafe version ofbasePipelineHandle
. -
nbasePipelineIndex
public static void nbasePipelineIndex(long struct, int value) Unsafe version ofbasePipelineIndex
. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL
.- Parameters:
struct
- the struct to validate
-