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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe 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 aVkGraphicsPipelineCreateInfoinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionlongbasePipelineHandle(long value) Sets the specified value to thebasePipelineHandlefield.intbasePipelineIndex(int value) Sets the specified value to thebasePipelineIndexfield.static VkGraphicsPipelineCreateInfocalloc()Returns a newVkGraphicsPipelineCreateInfoinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkGraphicsPipelineCreateInfocalloc(MemoryStack stack) Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkGraphicsPipelineCreateInfoDeprecated.callocStack(int capacity) Deprecated.callocStack(int capacity, MemoryStack stack) Deprecated.static VkGraphicsPipelineCreateInfocallocStack(MemoryStack stack) Deprecated.static VkGraphicsPipelineCreateInfocreate()Returns a newVkGraphicsPipelineCreateInfoinstance allocated withBufferUtils.create(int capacity) Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withBufferUtils.static VkGraphicsPipelineCreateInfocreate(long address) Returns a newVkGraphicsPipelineCreateInfoinstance for the specified memory address.create(long address, int capacity) Create aVkGraphicsPipelineCreateInfo.Bufferinstance at the specified memory.static @Nullable VkGraphicsPipelineCreateInfocreateSafe(long address) static @Nullable VkGraphicsPipelineCreateInfo.BuffercreateSafe(long address, int capacity) intflags()flags(int value) Sets the specified value to theflagsfield.longlayout()layout(long value) Sets the specified value to thelayoutfield.static VkGraphicsPipelineCreateInfomalloc()Returns a newVkGraphicsPipelineCreateInfoinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkGraphicsPipelineCreateInfomalloc(MemoryStack stack) Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the specifiedMemoryStack.static VkGraphicsPipelineCreateInfoDeprecated.mallocStack(int capacity) Deprecated.mallocStack(int capacity, MemoryStack stack) Deprecated.static VkGraphicsPipelineCreateInfomallocStack(MemoryStack stack) Deprecated.static longnbasePipelineHandle(long struct) Unsafe version ofbasePipelineHandle().static voidnbasePipelineHandle(long struct, long value) Unsafe version ofbasePipelineHandle.static intnbasePipelineIndex(long struct) Unsafe version ofbasePipelineIndex().static voidnbasePipelineIndex(long struct, int value) Unsafe version ofbasePipelineIndex.static intnflags(long struct) Unsafe version offlags().static voidnflags(long struct, int value) Unsafe version offlags.static longnlayout(long struct) Unsafe version oflayout().static voidnlayout(long struct, long value) Unsafe version oflayout.static @Nullable VkPipelineColorBlendStateCreateInfonpColorBlendState(long struct) Unsafe version ofpColorBlendState().static voidnpColorBlendState(long struct, @Nullable VkPipelineColorBlendStateCreateInfo value) Unsafe version ofpColorBlendState.static @Nullable VkPipelineDepthStencilStateCreateInfonpDepthStencilState(long struct) Unsafe version ofpDepthStencilState().static voidnpDepthStencilState(long struct, @Nullable VkPipelineDepthStencilStateCreateInfo value) Unsafe version ofpDepthStencilState.static @Nullable VkPipelineDynamicStateCreateInfonpDynamicState(long struct) Unsafe version ofpDynamicState().static voidnpDynamicState(long struct, @Nullable VkPipelineDynamicStateCreateInfo value) Unsafe version ofpDynamicState.static @Nullable VkPipelineInputAssemblyStateCreateInfonpInputAssemblyState(long struct) Unsafe version ofpInputAssemblyState().static voidnpInputAssemblyState(long struct, @Nullable VkPipelineInputAssemblyStateCreateInfo value) Unsafe version ofpInputAssemblyState.static @Nullable VkPipelineMultisampleStateCreateInfonpMultisampleState(long struct) Unsafe version ofpMultisampleState().static voidnpMultisampleState(long struct, @Nullable VkPipelineMultisampleStateCreateInfo value) Unsafe version ofpMultisampleState.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static @Nullable VkPipelineRasterizationStateCreateInfonpRasterizationState(long struct) Unsafe version ofpRasterizationState().static voidnpRasterizationState(long struct, @Nullable VkPipelineRasterizationStateCreateInfo value) Unsafe version ofpRasterizationState.static @Nullable VkPipelineShaderStageCreateInfo.BuffernpStages(long struct) Unsafe version ofpStages().static voidnpStages(long struct, @Nullable VkPipelineShaderStageCreateInfo.Buffer value) Unsafe version ofpStages.static @Nullable VkPipelineTessellationStateCreateInfonpTessellationState(long struct) Unsafe version ofpTessellationState().static voidnpTessellationState(long struct, @Nullable VkPipelineTessellationStateCreateInfo value) Unsafe version ofpTessellationState.static @Nullable VkPipelineVertexInputStateCreateInfonpVertexInputState(long struct) Unsafe version ofpVertexInputState().static voidnpVertexInputState(long struct, @Nullable VkPipelineVertexInputStateCreateInfo value) Unsafe version ofpVertexInputState.static @Nullable VkPipelineViewportStateCreateInfonpViewportState(long struct) Unsafe version ofpViewportState().static voidnpViewportState(long struct, @Nullable VkPipelineViewportStateCreateInfo value) Unsafe version ofpViewportState.static longnrenderPass(long struct) Unsafe version ofrenderPass().static voidnrenderPass(long struct, long value) Unsafe version ofrenderPass.static intnstageCount(long struct) Unsafe version ofstageCount().static voidnstageCount(long struct, int value) Sets the specified value to thestageCountfield of the specifiedstruct.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.static intnsubpass(long struct) Unsafe version ofsubpass().static voidnsubpass(long struct, int value) Unsafe version ofsubpass.@Nullable VkPipelineColorBlendStateCreateInfopColorBlendState(@Nullable VkPipelineColorBlendStateCreateInfo value) Sets the address of the specifiedVkPipelineColorBlendStateCreateInfoto thepColorBlendStatefield.@Nullable VkPipelineDepthStencilStateCreateInfopDepthStencilState(@Nullable VkPipelineDepthStencilStateCreateInfo value) Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfoto thepDepthStencilStatefield.@Nullable VkPipelineDynamicStateCreateInfopDynamicState(@Nullable VkPipelineDynamicStateCreateInfo value) Sets the address of the specifiedVkPipelineDynamicStateCreateInfoto thepDynamicStatefield.@Nullable VkPipelineInputAssemblyStateCreateInfopInputAssemblyState(@Nullable VkPipelineInputAssemblyStateCreateInfo value) Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfoto thepInputAssemblyStatefield.@Nullable VkPipelineMultisampleStateCreateInfopMultisampleState(@Nullable VkPipelineMultisampleStateCreateInfo value) Sets the address of the specifiedVkPipelineMultisampleStateCreateInfoto thepMultisampleStatefield.longpNext()pNext(long value) Sets the specified value to thepNextfield.Prepends the specifiedVkAttachmentSampleCountInfoAMDvalue to thepNextchain.Prepends the specifiedVkAttachmentSampleCountInfoNVvalue to thepNextchain.pNext(VkExternalFormatANDROID value) Prepends the specifiedVkExternalFormatANDROIDvalue to thepNextchain.Prepends the specifiedVkGraphicsPipelineLibraryCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkGraphicsPipelineShaderGroupsCreateInfoNVvalue to thepNextchain.Prepends the specifiedVkMultiviewPerViewAttributesInfoNVXvalue to thepNextchain.pNext(VkPipelineBinaryInfoKHR value) Prepends the specifiedVkPipelineBinaryInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineCompilerControlCreateInfoAMDvalue to thepNextchain.Prepends the specifiedVkPipelineCreateFlags2CreateInfovalue to thepNextchain.Prepends the specifiedVkPipelineCreateFlags2CreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineCreationFeedbackCreateInfovalue to thepNextchain.Prepends the specifiedVkPipelineCreationFeedbackCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkPipelineDiscardRectangleStateCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkPipelineFragmentShadingRateEnumStateCreateInfoNVvalue to thepNextchain.Prepends the specifiedVkPipelineFragmentShadingRateStateCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineLibraryCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineRenderingCreateInfovalue to thepNextchain.Prepends the specifiedVkPipelineRenderingCreateInfoKHRvalue to thepNextchain.Prepends the specifiedVkPipelineRepresentativeFragmentTestStateCreateInfoNVvalue to thepNextchain.Prepends the specifiedVkPipelineRobustnessCreateInfovalue to thepNextchain.Prepends the specifiedVkPipelineRobustnessCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkRenderingAttachmentLocationInfovalue to thepNextchain.Prepends the specifiedVkRenderingAttachmentLocationInfoKHRvalue to thepNextchain.Prepends the specifiedVkRenderingInputAttachmentIndexInfovalue to thepNextchain.Prepends the specifiedVkRenderingInputAttachmentIndexInfoKHRvalue to thepNextchain.@Nullable VkPipelineRasterizationStateCreateInfopRasterizationState(@Nullable VkPipelineRasterizationStateCreateInfo value) Sets the address of the specifiedVkPipelineRasterizationStateCreateInfoto thepRasterizationStatefield.@Nullable VkPipelineShaderStageCreateInfo.BufferpStages()pStages(@Nullable VkPipelineShaderStageCreateInfo.Buffer value) Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Bufferto thepStagesfield.@Nullable VkPipelineTessellationStateCreateInfopTessellationState(@Nullable VkPipelineTessellationStateCreateInfo value) Sets the address of the specifiedVkPipelineTessellationStateCreateInfoto thepTessellationStatefield.@Nullable VkPipelineVertexInputStateCreateInfopVertexInputState(@Nullable VkPipelineVertexInputStateCreateInfo value) Sets the address of the specifiedVkPipelineVertexInputStateCreateInfoto thepVertexInputStatefield.@Nullable VkPipelineViewportStateCreateInfopViewportState(@Nullable VkPipelineViewportStateCreateInfo value) Sets the address of the specifiedVkPipelineViewportStateCreateInfoto thepViewportStatefield.longrenderPass(long value) Sets the specified value to therenderPassfield.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.intsizeof()Returnssizeof(struct).intstageCount(int value) Sets the specified value to thestageCountfield.intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFOvalue to thesTypefield.intsubpass()subpass(int value) Sets the specified value to thesubpassfield.static voidvalidate(long struct) Validates pointer members that should not beNULL.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aVkGraphicsPipelineCreateInfoinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkGraphicsPipelineCreateInfo>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
stageCount
public int stageCount()- Returns:
- the value of the
stageCountfield.
-
pStages
- Returns:
- a
VkPipelineShaderStageCreateInfo.Bufferview of the struct array pointed to by thepStagesfield.
-
pVertexInputState
- Returns:
- a
VkPipelineVertexInputStateCreateInfoview of the struct pointed to by thepVertexInputStatefield.
-
pInputAssemblyState
- Returns:
- a
VkPipelineInputAssemblyStateCreateInfoview of the struct pointed to by thepInputAssemblyStatefield.
-
pTessellationState
- Returns:
- a
VkPipelineTessellationStateCreateInfoview of the struct pointed to by thepTessellationStatefield.
-
pViewportState
- Returns:
- a
VkPipelineViewportStateCreateInfoview of the struct pointed to by thepViewportStatefield.
-
pRasterizationState
- Returns:
- a
VkPipelineRasterizationStateCreateInfoview of the struct pointed to by thepRasterizationStatefield.
-
pMultisampleState
- Returns:
- a
VkPipelineMultisampleStateCreateInfoview of the struct pointed to by thepMultisampleStatefield.
-
pDepthStencilState
- Returns:
- a
VkPipelineDepthStencilStateCreateInfoview of the struct pointed to by thepDepthStencilStatefield.
-
pColorBlendState
- Returns:
- a
VkPipelineColorBlendStateCreateInfoview of the struct pointed to by thepColorBlendStatefield.
-
pDynamicState
- Returns:
- a
VkPipelineDynamicStateCreateInfoview of the struct pointed to by thepDynamicStatefield.
-
layout
public long layout()- Returns:
- the value of the
layoutfield.
-
renderPass
public long renderPass()- Returns:
- the value of the
renderPassfield.
-
subpass
public int subpass()- Returns:
- the value of the
subpassfield.
-
basePipelineHandle
public long basePipelineHandle()- Returns:
- the value of the
basePipelineHandlefield.
-
basePipelineIndex
public int basePipelineIndex()- Returns:
- the value of the
basePipelineIndexfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFOvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
pNext
Prepends the specifiedVkAttachmentSampleCountInfoAMDvalue to thepNextchain. -
pNext
Prepends the specifiedVkAttachmentSampleCountInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkExternalFormatANDROIDvalue to thepNextchain. -
pNext
Prepends the specifiedVkGraphicsPipelineLibraryCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkGraphicsPipelineShaderGroupsCreateInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkMultiviewPerViewAttributesInfoNVXvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineBinaryInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineCompilerControlCreateInfoAMDvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineCreateFlags2CreateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineCreateFlags2CreateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineCreationFeedbackCreateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineCreationFeedbackCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineDiscardRectangleStateCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineFragmentShadingRateEnumStateCreateInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineFragmentShadingRateStateCreateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineLibraryCreateInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineRenderingCreateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineRenderingCreateInfoKHRvalue to thepNextchain. -
pNext
public VkGraphicsPipelineCreateInfo pNext(VkPipelineRepresentativeFragmentTestStateCreateInfoNV value) Prepends the specifiedVkPipelineRepresentativeFragmentTestStateCreateInfoNVvalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineRobustnessCreateInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkPipelineRobustnessCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkRenderingAttachmentLocationInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkRenderingAttachmentLocationInfoKHRvalue to thepNextchain. -
pNext
Prepends the specifiedVkRenderingInputAttachmentIndexInfovalue to thepNextchain. -
pNext
Prepends the specifiedVkRenderingInputAttachmentIndexInfoKHRvalue to thepNextchain. -
flags
Sets the specified value to theflagsfield. -
stageCount
Sets the specified value to thestageCountfield. -
pStages
Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Bufferto thepStagesfield. -
pVertexInputState
public VkGraphicsPipelineCreateInfo pVertexInputState(@Nullable VkPipelineVertexInputStateCreateInfo value) Sets the address of the specifiedVkPipelineVertexInputStateCreateInfoto thepVertexInputStatefield. -
pInputAssemblyState
public VkGraphicsPipelineCreateInfo pInputAssemblyState(@Nullable VkPipelineInputAssemblyStateCreateInfo value) Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfoto thepInputAssemblyStatefield. -
pTessellationState
public VkGraphicsPipelineCreateInfo pTessellationState(@Nullable VkPipelineTessellationStateCreateInfo value) Sets the address of the specifiedVkPipelineTessellationStateCreateInfoto thepTessellationStatefield. -
pViewportState
public VkGraphicsPipelineCreateInfo pViewportState(@Nullable VkPipelineViewportStateCreateInfo value) Sets the address of the specifiedVkPipelineViewportStateCreateInfoto thepViewportStatefield. -
pRasterizationState
public VkGraphicsPipelineCreateInfo pRasterizationState(@Nullable VkPipelineRasterizationStateCreateInfo value) Sets the address of the specifiedVkPipelineRasterizationStateCreateInfoto thepRasterizationStatefield. -
pMultisampleState
public VkGraphicsPipelineCreateInfo pMultisampleState(@Nullable VkPipelineMultisampleStateCreateInfo value) Sets the address of the specifiedVkPipelineMultisampleStateCreateInfoto thepMultisampleStatefield. -
pDepthStencilState
public VkGraphicsPipelineCreateInfo pDepthStencilState(@Nullable VkPipelineDepthStencilStateCreateInfo value) Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfoto thepDepthStencilStatefield. -
pColorBlendState
public VkGraphicsPipelineCreateInfo pColorBlendState(@Nullable VkPipelineColorBlendStateCreateInfo value) Sets the address of the specifiedVkPipelineColorBlendStateCreateInfoto thepColorBlendStatefield. -
pDynamicState
Sets the address of the specifiedVkPipelineDynamicStateCreateInfoto thepDynamicStatefield. -
layout
Sets the specified value to thelayoutfield. -
renderPass
Sets the specified value to therenderPassfield. -
subpass
Sets the specified value to thesubpassfield. -
basePipelineHandle
Sets the specified value to thebasePipelineHandlefield. -
basePipelineIndex
Sets the specified value to thebasePipelineIndexfield. -
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 newVkGraphicsPipelineCreateInfoinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkGraphicsPipelineCreateInfoinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkGraphicsPipelineCreateInfoinstance allocated withBufferUtils. -
create
Returns a newVkGraphicsPipelineCreateInfoinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkGraphicsPipelineCreateInfo.Bufferinstance 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 newVkGraphicsPipelineCreateInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand 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 thestageCountfield 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
-