Class VkGraphicsPipelineCreateInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkGraphicsPipelineCreateInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkGraphicsPipelineCreateInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying parameters of a newly created graphics pipeline.Description
The parameters
basePipelineHandleandbasePipelineIndexare described in more detail in Pipeline Derivatives.pStagespoints to an array ofVkPipelineShaderStageCreateInfostructures, which were previously described in Compute Pipelines.pDynamicStatepoints to a structure of typeVkPipelineDynamicStateCreateInfo.If any shader stage fails to compile, the compile log will be reported back to the application, and
ERROR_INVALID_SHADER_NVwill be generated.Valid Usage
- If
flagscontains thePIPELINE_CREATE_DERIVATIVE_BITflag, andbasePipelineIndexis -1,basePipelineHandlemust be a valid handle to a graphicsVkPipeline - If
flagscontains thePIPELINE_CREATE_DERIVATIVE_BITflag, andbasePipelineHandleisNULL_HANDLE,basePipelineIndexmust be a valid index into the calling command’spCreateInfosparameter - If
flagscontains thePIPELINE_CREATE_DERIVATIVE_BITflag, andbasePipelineIndexis not -1,basePipelineHandlemust beNULL_HANDLE - If
flagscontains thePIPELINE_CREATE_DERIVATIVE_BITflag, andbasePipelineHandleis notNULL_HANDLE,basePipelineIndexmust be -1 - The
stagemember of each element ofpStagesmust be unique - The geometric shader stages provided in
pStagesmust be either from the mesh shading pipeline (stageisSHADER_STAGE_TASK_BIT_NVorSHADER_STAGE_MESH_BIT_NV) or from the primitive shading pipeline (stageisSHADER_STAGE_VERTEX_BIT,SHADER_STAGE_TESSELLATION_CONTROL_BIT,SHADER_STAGE_TESSELLATION_EVALUATION_BIT, orSHADER_STAGE_GEOMETRY_BIT). - The
stagemember of one element ofpStagesmust be eitherSHADER_STAGE_VERTEX_BITorSHADER_STAGE_MESH_BIT_NV. - The
stagemember of each element ofpStagesmust not beSHADER_STAGE_COMPUTE_BIT - If
pStagesincludes a tessellation control shader stage, it must include a tessellation evaluation shader stage - If
pStagesincludes a tessellation evaluation shader stage, it must include a tessellation control shader stage - If
pStagesincludes a tessellation control shader stage and a tessellation evaluation shader stage,pTessellationStatemust be a valid pointer to a validVkPipelineTessellationStateCreateInfostructure - If
pStagesincludes tessellation shader stages, the shader code of at least one stage must contain anOpExecutionModeinstruction that specifies the type of subdivision in the pipeline - If
pStagesincludes tessellation shader stages, and the shader code of both stages contain anOpExecutionModeinstruction that specifies the type of subdivision in the pipeline, they must both specify the same subdivision mode - If
pStagesincludes tessellation shader stages, the shader code of at least one stage must contain anOpExecutionModeinstruction that specifies the output patch size in the pipeline - If
pStagesincludes tessellation shader stages, and the shader code of both contain anOpExecutionModeinstruction that specifies the out patch size in the pipeline, they must both specify the same patch size - If
pStagesincludes tessellation shader stages, thetopologymember ofpInputAssemblymust bePRIMITIVE_TOPOLOGY_PATCH_LIST - If the
topologymember ofpInputAssemblyisPRIMITIVE_TOPOLOGY_PATCH_LIST,pStagesmust include tessellation shader stages - If
pStagesincludes a geometry shader stage, and does not include any tessellation shader stages, its shader code must contain anOpExecutionModeinstruction that specifies an input primitive type that is compatible with the primitive topology specified inpInputAssembly - If
pStagesincludes a geometry shader stage, and also includes tessellation shader stages, its shader code must contain anOpExecutionModeinstruction that specifies an input primitive type that is compatible with the primitive topology that is output by the tessellation stages - If
pStagesincludes a fragment shader stage and a geometry shader stage, and the fragment shader code reads from an input variable that is decorated withPrimitiveID, then the geometry shader code must write to a matching output variable, decorated withPrimitiveID, in all execution paths - If
pStagesincludes a fragment shader stage, its shader code must not read from any input attachment that is defined asATTACHMENT_UNUSEDinsubpass - The shader code for the entry points identified by
pStages, and the rest of the state identified by this structure must adhere to the pipeline linking rules described in the Shader Interfaces chapter - If rasterization is not disabled and
subpassuses a depth/stencil attachment inrenderPassthat has a layout ofIMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMALorIMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMALin theVkAttachmentReferencedefined bysubpass, thedepthWriteEnablemember ofpDepthStencilStatemust beFALSE - If rasterization is not disabled and
subpassuses a depth/stencil attachment inrenderPassthat has a layout ofIMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMALorIMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMALin theVkAttachmentReferencedefined bysubpass, thefailOp,passOpanddepthFailOpmembers of each of thefrontandbackmembers ofpDepthStencilStatemust beSTENCIL_OP_KEEP - If rasterization is not disabled and the subpass uses color attachments, then for each color attachment in the subpass the
blendEnablemember of the corresponding element of thepAttachmentmember ofpColorBlendStatemust beFALSEif the attached image’s format features does not containFORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT. - If rasterization is not disabled and the subpass uses color attachments, the
attachmentCountmember ofpColorBlendStatemust be equal to thecolorAttachmentCountused to createsubpass - If no element of the
pDynamicStatesmember ofpDynamicStateisDYNAMIC_STATE_VIEWPORT, thepViewportsmember ofpViewportStatemust be a valid pointer to an array ofpViewportState::viewportCountvalidVkViewportstructures - If no element of the
pDynamicStatesmember ofpDynamicStateisDYNAMIC_STATE_SCISSOR, thepScissorsmember ofpViewportStatemust be a valid pointer to an array ofpViewportState::scissorCountVkRect2Dstructures - If the wide lines feature is not enabled, and no element of the
pDynamicStatesmember ofpDynamicStateisDYNAMIC_STATE_LINE_WIDTH, thelineWidthmember ofpRasterizationStatemust be1.0 - If the
rasterizerDiscardEnablemember ofpRasterizationStateisFALSE,pViewportStatemust be a valid pointer to a validVkPipelineViewportStateCreateInfostructure - If the
rasterizerDiscardEnablemember ofpRasterizationStateisFALSE,pMultisampleStatemust be a valid pointer to a validVkPipelineMultisampleStateCreateInfostructure - If the
rasterizerDiscardEnablemember ofpRasterizationStateisFALSE, andsubpassuses a depth/stencil attachment,pDepthStencilStatemust be a valid pointer to a validVkPipelineDepthStencilStateCreateInfostructure - If the
rasterizerDiscardEnablemember ofpRasterizationStateisFALSE, andsubpassuses color attachments,pColorBlendStatemust be a valid pointer to a validVkPipelineColorBlendStateCreateInfostructure - If the depth bias clamping feature is not enabled, no element of the
pDynamicStatesmember ofpDynamicStateisDYNAMIC_STATE_DEPTH_BIAS, and thedepthBiasEnablemember ofpRasterizationStateisTRUE, thedepthBiasClampmember ofpRasterizationStatemust be0.0 - If the
VK_EXT_depth_range_unrestrictedextension is not enabled and no element of thepDynamicStatesmember ofpDynamicStateisDYNAMIC_STATE_DEPTH_BOUNDS, and thedepthBoundsTestEnablemember ofpDepthStencilStateisTRUE, theminDepthBoundsandmaxDepthBoundsmembers ofpDepthStencilStatemust be between0.0and1.0, inclusive - If no element of the
pDynamicStatesmember ofpDynamicStateisDYNAMIC_STATE_SAMPLE_LOCATIONS_EXT, and thesampleLocationsEnablemember of aVkPipelineSampleLocationsStateCreateInfoEXTstructure chained to thepNextchain ofpMultisampleStateisTRUE,sampleLocationsInfo.sampleLocationGridSize.widthmust evenly divideVkMultisamplePropertiesEXT::sampleLocationGridSize.width as returned byGetPhysicalDeviceMultisamplePropertiesEXTwith asamplesparameter equalingrasterizationSamples - If no element of the
pDynamicStatesmember ofpDynamicStateisDYNAMIC_STATE_SAMPLE_LOCATIONS_EXT, and thesampleLocationsEnablemember of aVkPipelineSampleLocationsStateCreateInfoEXTstructure chained to thepNextchain ofpMultisampleStateisTRUE,sampleLocationsInfo.sampleLocationGridSize.heightmust evenly divideVkMultisamplePropertiesEXT::sampleLocationGridSize.height as returned byGetPhysicalDeviceMultisamplePropertiesEXTwith asamplesparameter equalingrasterizationSamples - If no element of the
pDynamicStatesmember ofpDynamicStateisDYNAMIC_STATE_SAMPLE_LOCATIONS_EXT, and thesampleLocationsEnablemember of aVkPipelineSampleLocationsStateCreateInfoEXTstructure chained to thepNextchain ofpMultisampleStateisTRUE,sampleLocationsInfo.sampleLocationsPerPixelmust equalrasterizationSamples - If the
sampleLocationsEnablemember of aVkPipelineSampleLocationsStateCreateInfoEXTstructure chained to thepNextchain ofpMultisampleStateisTRUE, the fragment shader code must not statically use the extended instructionInterpolateAtSample layoutmust be consistent with all shaders specified inpStages- If neither the
VK_AMD_mixed_attachment_samplesnor theVK_NV_framebuffer_mixed_samplesextensions are enabled, and ifsubpassuses color and/or depth/stencil attachments, then therasterizationSamplesmember ofpMultisampleStatemust be the same as the sample count for those subpass attachments - If the
VK_AMD_mixed_attachment_samplesextension is enabled, and ifsubpassuses color and/or depth/stencil attachments, then therasterizationSamplesmember ofpMultisampleStatemust equal the maximum of the sample counts of those subpass attachments - If the
VK_NV_framebuffer_mixed_samplesextension is enabled, and ifsubpasshas a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled, then therasterizationSamplesmember ofpMultisampleStatemust be the same as the sample count of the depth/stencil attachment - If the
VK_NV_framebuffer_mixed_samplesextension is enabled, and ifsubpasshas any color attachments, then therasterizationSamplesmember ofpMultisampleStatemust be greater than or equal to the sample count for those subpass attachments - If the
VK_NV_coverage_reduction_modeextension is enabled, the coverage reduction mode specified byVkPipelineCoverageReductionStateCreateInfoNV::coverageReductionMode, therasterizationSamplesmember ofpMultisampleStateand the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned byvkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV - If
subpassdoes not use any color and/or depth/stencil attachments, then therasterizationSamplesmember ofpMultisampleStatemust follow the rules for a zero-attachment subpass subpassmust be a valid subpass withinrenderPass- If the
renderPasshas multiview enabled andsubpasshas more than one bit set in the view mask andmultiviewTessellationShaderis not enabled, thenpStagesmust not include tessellation shaders. - If the
renderPasshas multiview enabled andsubpasshas more than one bit set in the view mask andmultiviewGeometryShaderis not enabled, thenpStagesmust not include a geometry shader. - If the
renderPasshas multiview enabled andsubpasshas more than one bit set in the view mask, shaders in the pipeline must not write to theLayerbuilt-in output - If the
renderPasshas multiview enabled, then all shaders must not include variables decorated with theLayerbuilt-in decoration in their interfaces. flagsmust not contain thePIPELINE_CREATE_DISPATCH_BASEflag.- If
pStagesincludes a fragment shader stage and an input attachment was referenced by theVkRenderPassInputAttachmentAspectCreateInfoatrenderPasscreate time, its shader code must not read from any aspect that was not specified in theaspectMaskof the correspondingVkInputAttachmentAspectReferencestructure. - The number of resources in
layoutaccessible to each shader stage that is used by the pipeline must be less than or equal toVkPhysicalDeviceLimits::maxPerStageResources - If no element of the
pDynamicStatesmember ofpDynamicStateisDYNAMIC_STATE_VIEWPORT_W_SCALING_NV, and theviewportWScalingEnablemember of aVkPipelineViewportWScalingStateCreateInfoNVstructure, chained to thepNextchain ofpViewportState, isTRUE, thepViewportWScalingsmember of theVkPipelineViewportWScalingStateCreateInfoNVmust be a pointer to an array ofVkPipelineViewportWScalingStateCreateInfoNV::viewportCountvalidVkViewportWScalingNVstructures - If
pStagesincludes a vertex shader stage,pVertexInputStatemust be a valid pointer to a validVkPipelineVertexInputStateCreateInfostructure - If
pStagesincludes a vertex shader stage,pInputAssemblyStatemust be a valid pointer to a validVkPipelineInputAssemblyStateCreateInfostructure - The
Xfbexecution mode can be specified by only one shader stage inpStages - If any shader stage in
pStagesspecifiesXfbexecution mode it must be the last vertex processing stage - If a
VkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStreamvalue other than zero is specified, all variables in the output interface of the entry point being compiled decorated withPosition,PointSize,ClipDistance, orCullDistancemust all be decorated with identicalStreamvalues that match therasterizationStream - If
VkPipelineRasterizationStateStreamCreateInfoEXT::rasterizationStreamis zero, or not specified, all variables in the output interface of the entry point being compiled decorated withPosition,PointSize,ClipDistance, orCullDistancemust all be decorated with aStreamvalue of zero, or must not specify theStreamdecoration - If the last vertex processing stage is a geometry shader, and that geometry shader uses the
GeometryStreamscapability, thenVkPhysicalDeviceTransformFeedbackFeaturesEXT::geometryStreamsfeature must be enabled - If there are any mesh shader stages in the pipeline there must not be any shader stage in the pipeline with a
Xfbexecution mode. - If the
lineRasterizationModemember of aVkPipelineRasterizationLineStateCreateInfoEXTstructure chained to thepNextchain ofpRasterizationStateisLINE_RASTERIZATION_MODE_BRESENHAM_EXTorLINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXTand if rasterization is enabled, then thealphaToCoverageEnable,alphaToOneEnable, andsampleShadingEnablemembers ofpMultisampleStatemust all beFALSE - If the
stippledLineEnablemember ofVkPipelineRasterizationLineStateCreateInfoEXTisTRUEand no element of thepDynamicStatesmember ofpDynamicStateisDYNAMIC_STATE_LINE_STIPPLE_EXT, then thelineStippleFactormember ofVkPipelineRasterizationLineStateCreateInfoEXTmust be in the range[1,256]
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkPipelineCompilerControlCreateInfoAMD,VkPipelineCreationFeedbackCreateInfoEXT,VkPipelineDiscardRectangleStateCreateInfoEXT, orVkPipelineRepresentativeFragmentTestStateCreateInfoNV - Each
sTypemember in thepNextchain must be unique flagsmust be a valid combination ofVkPipelineCreateFlagBitsvaluespStagesmust be a valid pointer to an array ofstageCountvalidVkPipelineShaderStageCreateInfostructurespRasterizationStatemust be a valid pointer to a validVkPipelineRasterizationStateCreateInfostructure- If
pDynamicStateis notNULL,pDynamicStatemust be a valid pointer to a validVkPipelineDynamicStateCreateInfostructure layoutmust be a validVkPipelineLayouthandlerenderPassmust be a validVkRenderPasshandlestageCountmust be greater than 0- Each of
basePipelineHandle,layout, andrenderPassthat are valid handles must have been created, allocated, or retrieved from the sameVkDevice
See Also
VkPipelineColorBlendStateCreateInfo,VkPipelineDepthStencilStateCreateInfo,VkPipelineDynamicStateCreateInfo,VkPipelineInputAssemblyStateCreateInfo,VkPipelineMultisampleStateCreateInfo,VkPipelineRasterizationStateCreateInfo,VkPipelineShaderStageCreateInfo,VkPipelineTessellationStateCreateInfo,VkPipelineVertexInputStateCreateInfo,VkPipelineViewportStateCreateInfo,CreateGraphicsPipelinesMember documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.flags– a bitmask ofVkPipelineCreateFlagBitsspecifying how the pipeline will be generated.stageCount– the number of entries in thepStagesarray.pStages– an array of sizestageCountstructures of typeVkPipelineShaderStageCreateInfodescribing the set of the shader stages to be included in the graphics pipeline.pVertexInputState– a pointer to an instance of theVkPipelineVertexInputStateCreateInfostructure. It is ignored if the pipeline includes a mesh shader stage.pInputAssemblyState– a pointer to an instance of theVkPipelineInputAssemblyStateCreateInfostructure which determines input assembly behavior, as described in Drawing Commands. It is ignored if the pipeline includes a mesh shader stage.pTessellationState– a pointer to an instance of theVkPipelineTessellationStateCreateInfostructure, and is ignored if the pipeline does not include a tessellation control shader stage and tessellation evaluation shader stage.pViewportState– a pointer to an instance of theVkPipelineViewportStateCreateInfostructure, and is ignored if the pipeline has rasterization disabled.pRasterizationState– a pointer to an instance of theVkPipelineRasterizationStateCreateInfostructure.pMultisampleState– a pointer to an instance of theVkPipelineMultisampleStateCreateInfo, and is ignored if the pipeline has rasterization disabled.pDepthStencilState– a pointer to an instance of theVkPipelineDepthStencilStateCreateInfostructure, and is ignored if the pipeline has rasterization disabled or if the subpass of the render pass the pipeline is created against does not use a depth/stencil attachment.pColorBlendState– a pointer to an instance of theVkPipelineColorBlendStateCreateInfostructure, and is ignored if the pipeline has rasterization disabled or if the subpass of the render pass the pipeline is created against does not use any color attachments.pDynamicState– a pointer toVkPipelineDynamicStateCreateInfoand is used to indicate which properties of the pipeline state object are dynamic and can be changed independently of the pipeline state. This can beNULL, which means no state in the pipeline is considered dynamic.layout– the description of binding locations used by both the pipeline and descriptor sets used with the pipeline.renderPass– a handle to a render pass object describing the environment in which the pipeline will be used; the pipeline must only be used with an instance of any render pass compatible with the one provided. See Render Pass Compatibility for more information.subpass– the index of the subpass in the render pass where this pipeline will be used.basePipelineHandle– a pipeline to derive from.basePipelineIndex– an index into thepCreateInfosparameter to use as a pipeline to derive from.
Layout
struct VkGraphicsPipelineCreateInfo { VkStructureType sType; void const * pNext; VkPipelineCreateFlags flags; uint32_t stageCount;VkPipelineShaderStageCreateInfoconst * pStages;VkPipelineVertexInputStateCreateInfoconst * pVertexInputState;VkPipelineInputAssemblyStateCreateInfoconst * pInputAssemblyState;VkPipelineTessellationStateCreateInfoconst * pTessellationState;VkPipelineViewportStateCreateInfoconst * pViewportState;VkPipelineRasterizationStateCreateInfoconst * pRasterizationState;VkPipelineMultisampleStateCreateInfoconst * pMultisampleState;VkPipelineDepthStencilStateCreateInfoconst * pDepthStencilState;VkPipelineColorBlendStateCreateInfoconst * pColorBlendState;VkPipelineDynamicStateCreateInfoconst * pDynamicState; VkPipelineLayout layout; VkRenderPass renderPass; uint32_t subpass; VkPipeline basePipelineHandle; int32_t basePipelineIndex; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkGraphicsPipelineCreateInfo.BufferAn array ofVkGraphicsPipelineCreateInfostructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intBASEPIPELINEHANDLE
BASEPIPELINEINDEX
FLAGS
LAYOUT
PCOLORBLENDSTATE
PDEPTHSTENCILSTATE
PDYNAMICSTATE
PINPUTASSEMBLYSTATE
PMULTISAMPLESTATE
PNEXT
PRASTERIZATIONSTATE
PSTAGES
PTESSELLATIONSTATE
PVERTEXINPUTSTATE
PVIEWPORTSTATE
RENDERPASSThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTAGECOUNT
STYPE
SUBPASSThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkGraphicsPipelineCreateInfo(java.nio.ByteBuffer container)Creates aVkGraphicsPipelineCreateInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longbasePipelineHandle()Returns the value of thebasePipelineHandlefield.VkGraphicsPipelineCreateInfobasePipelineHandle(long value)Sets the specified value to thebasePipelineHandlefield.intbasePipelineIndex()Returns the value of thebasePipelineIndexfield.VkGraphicsPipelineCreateInfobasePipelineIndex(int value)Sets the specified value to thebasePipelineIndexfield.static VkGraphicsPipelineCreateInfocalloc()Returns a newVkGraphicsPipelineCreateInfoinstance allocated withmemCalloc.static VkGraphicsPipelineCreateInfo.Buffercalloc(int capacity)Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withmemCalloc.static VkGraphicsPipelineCreateInfocallocStack()Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkGraphicsPipelineCreateInfo.BuffercallocStack(int capacity)Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkGraphicsPipelineCreateInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkGraphicsPipelineCreateInfocallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkGraphicsPipelineCreateInfocreate()Returns a newVkGraphicsPipelineCreateInfoinstance allocated withBufferUtils.static VkGraphicsPipelineCreateInfo.Buffercreate(int capacity)Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withBufferUtils.static VkGraphicsPipelineCreateInfocreate(long address)Returns a newVkGraphicsPipelineCreateInfoinstance for the specified memory address.static VkGraphicsPipelineCreateInfo.Buffercreate(long address, int capacity)Create aVkGraphicsPipelineCreateInfo.Bufferinstance at the specified memory.static VkGraphicsPipelineCreateInfocreateSafe(long address)static VkGraphicsPipelineCreateInfo.BuffercreateSafe(long address, int capacity)intflags()Returns the value of theflagsfield.VkGraphicsPipelineCreateInfoflags(int value)Sets the specified value to theflagsfield.longlayout()Returns the value of thelayoutfield.VkGraphicsPipelineCreateInfolayout(long value)Sets the specified value to thelayoutfield.static VkGraphicsPipelineCreateInfomalloc()Returns a newVkGraphicsPipelineCreateInfoinstance allocated withmemAlloc.static VkGraphicsPipelineCreateInfo.Buffermalloc(int capacity)Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withmemAlloc.static VkGraphicsPipelineCreateInfomallocStack()Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the thread-localMemoryStack.static VkGraphicsPipelineCreateInfo.BuffermallocStack(int capacity)Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the thread-localMemoryStack.static VkGraphicsPipelineCreateInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkGraphicsPipelineCreateInfomallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the specifiedMemoryStack.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 VkPipelineColorBlendStateCreateInfonpColorBlendState(long struct)Unsafe version ofpColorBlendState().static voidnpColorBlendState(long struct, VkPipelineColorBlendStateCreateInfo value)Unsafe version ofpColorBlendState.static VkPipelineDepthStencilStateCreateInfonpDepthStencilState(long struct)Unsafe version ofpDepthStencilState().static voidnpDepthStencilState(long struct, VkPipelineDepthStencilStateCreateInfo value)Unsafe version ofpDepthStencilState.static VkPipelineDynamicStateCreateInfonpDynamicState(long struct)Unsafe version ofpDynamicState().static voidnpDynamicState(long struct, VkPipelineDynamicStateCreateInfo value)Unsafe version ofpDynamicState.static VkPipelineInputAssemblyStateCreateInfonpInputAssemblyState(long struct)Unsafe version ofpInputAssemblyState().static voidnpInputAssemblyState(long struct, VkPipelineInputAssemblyStateCreateInfo value)Unsafe version ofpInputAssemblyState.static VkPipelineMultisampleStateCreateInfonpMultisampleState(long struct)Unsafe version ofpMultisampleState().static voidnpMultisampleState(long struct, VkPipelineMultisampleStateCreateInfo value)Unsafe version ofpMultisampleState.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkPipelineRasterizationStateCreateInfonpRasterizationState(long struct)Unsafe version ofpRasterizationState().static voidnpRasterizationState(long struct, VkPipelineRasterizationStateCreateInfo value)Unsafe version ofpRasterizationState.static VkPipelineShaderStageCreateInfo.BuffernpStages(long struct)Unsafe version ofpStages().static voidnpStages(long struct, VkPipelineShaderStageCreateInfo.Buffer value)Unsafe version ofpStages.static VkPipelineTessellationStateCreateInfonpTessellationState(long struct)Unsafe version ofpTessellationState().static voidnpTessellationState(long struct, VkPipelineTessellationStateCreateInfo value)Unsafe version ofpTessellationState.static VkPipelineVertexInputStateCreateInfonpVertexInputState(long struct)Unsafe version ofpVertexInputState().static voidnpVertexInputState(long struct, VkPipelineVertexInputStateCreateInfo value)Unsafe version ofpVertexInputState.static VkPipelineViewportStateCreateInfonpViewportState(long struct)Unsafe version ofpViewportState().static voidnpViewportState(long struct, 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.VkPipelineColorBlendStateCreateInfopColorBlendState()Returns aVkPipelineColorBlendStateCreateInfoview of the struct pointed to by thepColorBlendStatefield.VkGraphicsPipelineCreateInfopColorBlendState(VkPipelineColorBlendStateCreateInfo value)Sets the address of the specifiedVkPipelineColorBlendStateCreateInfoto thepColorBlendStatefield.VkPipelineDepthStencilStateCreateInfopDepthStencilState()Returns aVkPipelineDepthStencilStateCreateInfoview of the struct pointed to by thepDepthStencilStatefield.VkGraphicsPipelineCreateInfopDepthStencilState(VkPipelineDepthStencilStateCreateInfo value)Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfoto thepDepthStencilStatefield.VkPipelineDynamicStateCreateInfopDynamicState()Returns aVkPipelineDynamicStateCreateInfoview of the struct pointed to by thepDynamicStatefield.VkGraphicsPipelineCreateInfopDynamicState(VkPipelineDynamicStateCreateInfo value)Sets the address of the specifiedVkPipelineDynamicStateCreateInfoto thepDynamicStatefield.VkPipelineInputAssemblyStateCreateInfopInputAssemblyState()Returns aVkPipelineInputAssemblyStateCreateInfoview of the struct pointed to by thepInputAssemblyStatefield.VkGraphicsPipelineCreateInfopInputAssemblyState(VkPipelineInputAssemblyStateCreateInfo value)Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfoto thepInputAssemblyStatefield.VkPipelineMultisampleStateCreateInfopMultisampleState()Returns aVkPipelineMultisampleStateCreateInfoview of the struct pointed to by thepMultisampleStatefield.VkGraphicsPipelineCreateInfopMultisampleState(VkPipelineMultisampleStateCreateInfo value)Sets the address of the specifiedVkPipelineMultisampleStateCreateInfoto thepMultisampleStatefield.longpNext()Returns the value of thepNextfield.VkGraphicsPipelineCreateInfopNext(long value)Sets the specified value to thepNextfield.VkPipelineRasterizationStateCreateInfopRasterizationState()Returns aVkPipelineRasterizationStateCreateInfoview of the struct pointed to by thepRasterizationStatefield.VkGraphicsPipelineCreateInfopRasterizationState(VkPipelineRasterizationStateCreateInfo value)Sets the address of the specifiedVkPipelineRasterizationStateCreateInfoto thepRasterizationStatefield.VkPipelineShaderStageCreateInfo.BufferpStages()Returns aVkPipelineShaderStageCreateInfo.Bufferview of the struct array pointed to by thepStagesfield.VkGraphicsPipelineCreateInfopStages(VkPipelineShaderStageCreateInfo.Buffer value)Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Bufferto thepStagesfield.VkPipelineTessellationStateCreateInfopTessellationState()Returns aVkPipelineTessellationStateCreateInfoview of the struct pointed to by thepTessellationStatefield.VkGraphicsPipelineCreateInfopTessellationState(VkPipelineTessellationStateCreateInfo value)Sets the address of the specifiedVkPipelineTessellationStateCreateInfoto thepTessellationStatefield.VkPipelineVertexInputStateCreateInfopVertexInputState()Returns aVkPipelineVertexInputStateCreateInfoview of the struct pointed to by thepVertexInputStatefield.VkGraphicsPipelineCreateInfopVertexInputState(VkPipelineVertexInputStateCreateInfo value)Sets the address of the specifiedVkPipelineVertexInputStateCreateInfoto thepVertexInputStatefield.VkPipelineViewportStateCreateInfopViewportState()Returns aVkPipelineViewportStateCreateInfoview of the struct pointed to by thepViewportStatefield.VkGraphicsPipelineCreateInfopViewportState(VkPipelineViewportStateCreateInfo value)Sets the address of the specifiedVkPipelineViewportStateCreateInfoto thepViewportStatefield.longrenderPass()Returns the value of therenderPassfield.VkGraphicsPipelineCreateInforenderPass(long value)Sets the specified value to therenderPassfield.VkGraphicsPipelineCreateInfoset(int sType, long pNext, int flags, VkPipelineShaderStageCreateInfo.Buffer pStages, VkPipelineVertexInputStateCreateInfo pVertexInputState, VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState, VkPipelineTessellationStateCreateInfo pTessellationState, VkPipelineViewportStateCreateInfo pViewportState, VkPipelineRasterizationStateCreateInfo pRasterizationState, VkPipelineMultisampleStateCreateInfo pMultisampleState, VkPipelineDepthStencilStateCreateInfo pDepthStencilState, VkPipelineColorBlendStateCreateInfo pColorBlendState, VkPipelineDynamicStateCreateInfo pDynamicState, long layout, long renderPass, int subpass, long basePipelineHandle, int basePipelineIndex)Initializes this struct with the specified values.VkGraphicsPipelineCreateInfoset(VkGraphicsPipelineCreateInfo src)Copies the specified struct data to this struct.intsizeof()intstageCount()Returns the value of thestageCountfield.intsType()Returns the value of thesTypefield.VkGraphicsPipelineCreateInfosType(int value)Sets the specified value to thesTypefield.intsubpass()Returns the value of thesubpassfield.VkGraphicsPipelineCreateInfosubpass(int value)Sets the specified value to thesubpassfield.static voidvalidate(long struct)Validates pointer members that should not beNULL.static voidvalidate(long array, int count)Callsvalidate(long)for each struct contained in the specified struct array.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
STYPE, PNEXT, FLAGS, STAGECOUNT, PSTAGES, PVERTEXINPUTSTATE, PINPUTASSEMBLYSTATE, PTESSELLATIONSTATE, PVIEWPORTSTATE, PRASTERIZATIONSTATE, PMULTISAMPLESTATE, PDEPTHSTENCILSTATE, PCOLORBLENDSTATE, PDYNAMICSTATE, LAYOUT, RENDERPASS, SUBPASS, BASEPIPELINEHANDLE, BASEPIPELINEINDEX
The struct member offsets.
-
-
Constructor Detail
-
VkGraphicsPipelineCreateInfo
public VkGraphicsPipelineCreateInfo(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesTypefield.
-
pNext
public long pNext()
Returns the value of thepNextfield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
stageCount
public int stageCount()
Returns the value of thestageCountfield.
-
pStages
public VkPipelineShaderStageCreateInfo.Buffer pStages()
Returns aVkPipelineShaderStageCreateInfo.Bufferview of the struct array pointed to by thepStagesfield.
-
pVertexInputState
@Nullable public VkPipelineVertexInputStateCreateInfo pVertexInputState()
Returns aVkPipelineVertexInputStateCreateInfoview of the struct pointed to by thepVertexInputStatefield.
-
pInputAssemblyState
@Nullable public VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState()
Returns aVkPipelineInputAssemblyStateCreateInfoview of the struct pointed to by thepInputAssemblyStatefield.
-
pTessellationState
@Nullable public VkPipelineTessellationStateCreateInfo pTessellationState()
Returns aVkPipelineTessellationStateCreateInfoview of the struct pointed to by thepTessellationStatefield.
-
pViewportState
@Nullable public VkPipelineViewportStateCreateInfo pViewportState()
Returns aVkPipelineViewportStateCreateInfoview of the struct pointed to by thepViewportStatefield.
-
pRasterizationState
public VkPipelineRasterizationStateCreateInfo pRasterizationState()
Returns aVkPipelineRasterizationStateCreateInfoview of the struct pointed to by thepRasterizationStatefield.
-
pMultisampleState
@Nullable public VkPipelineMultisampleStateCreateInfo pMultisampleState()
Returns aVkPipelineMultisampleStateCreateInfoview of the struct pointed to by thepMultisampleStatefield.
-
pDepthStencilState
@Nullable public VkPipelineDepthStencilStateCreateInfo pDepthStencilState()
Returns aVkPipelineDepthStencilStateCreateInfoview of the struct pointed to by thepDepthStencilStatefield.
-
pColorBlendState
@Nullable public VkPipelineColorBlendStateCreateInfo pColorBlendState()
Returns aVkPipelineColorBlendStateCreateInfoview of the struct pointed to by thepColorBlendStatefield.
-
pDynamicState
@Nullable public VkPipelineDynamicStateCreateInfo pDynamicState()
Returns aVkPipelineDynamicStateCreateInfoview of the struct pointed to by thepDynamicStatefield.
-
layout
public long layout()
Returns the value of thelayoutfield.
-
renderPass
public long renderPass()
Returns the value of therenderPassfield.
-
subpass
public int subpass()
Returns the value of thesubpassfield.
-
basePipelineHandle
public long basePipelineHandle()
Returns the value of thebasePipelineHandlefield.
-
basePipelineIndex
public int basePipelineIndex()
Returns the value of thebasePipelineIndexfield.
-
sType
public VkGraphicsPipelineCreateInfo sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkGraphicsPipelineCreateInfo pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkGraphicsPipelineCreateInfo flags(int value)
Sets the specified value to theflagsfield.
-
pStages
public VkGraphicsPipelineCreateInfo pStages(VkPipelineShaderStageCreateInfo.Buffer value)
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(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
public VkGraphicsPipelineCreateInfo pDynamicState(@Nullable VkPipelineDynamicStateCreateInfo value)
Sets the address of the specifiedVkPipelineDynamicStateCreateInfoto thepDynamicStatefield.
-
layout
public VkGraphicsPipelineCreateInfo layout(long value)
Sets the specified value to thelayoutfield.
-
renderPass
public VkGraphicsPipelineCreateInfo renderPass(long value)
Sets the specified value to therenderPassfield.
-
subpass
public VkGraphicsPipelineCreateInfo subpass(int value)
Sets the specified value to thesubpassfield.
-
basePipelineHandle
public VkGraphicsPipelineCreateInfo basePipelineHandle(long value)
Sets the specified value to thebasePipelineHandlefield.
-
basePipelineIndex
public VkGraphicsPipelineCreateInfo basePipelineIndex(int value)
Sets the specified value to thebasePipelineIndexfield.
-
set
public VkGraphicsPipelineCreateInfo set(int sType, long pNext, int flags, VkPipelineShaderStageCreateInfo.Buffer pStages, @Nullable VkPipelineVertexInputStateCreateInfo pVertexInputState, @Nullable VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState, @Nullable VkPipelineTessellationStateCreateInfo pTessellationState, @Nullable VkPipelineViewportStateCreateInfo pViewportState, 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
public VkGraphicsPipelineCreateInfo set(VkGraphicsPipelineCreateInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkGraphicsPipelineCreateInfo malloc()
Returns a newVkGraphicsPipelineCreateInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkGraphicsPipelineCreateInfo calloc()
Returns a newVkGraphicsPipelineCreateInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkGraphicsPipelineCreateInfo create()
Returns a newVkGraphicsPipelineCreateInfoinstance allocated withBufferUtils.
-
create
public static VkGraphicsPipelineCreateInfo create(long address)
Returns a newVkGraphicsPipelineCreateInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkGraphicsPipelineCreateInfo createSafe(long address)
-
malloc
public static VkGraphicsPipelineCreateInfo.Buffer malloc(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkGraphicsPipelineCreateInfo.Buffer calloc(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkGraphicsPipelineCreateInfo.Buffer create(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkGraphicsPipelineCreateInfo.Buffer create(long address, int capacity)
Create aVkGraphicsPipelineCreateInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkGraphicsPipelineCreateInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkGraphicsPipelineCreateInfo mallocStack()
Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkGraphicsPipelineCreateInfo callocStack()
Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkGraphicsPipelineCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkGraphicsPipelineCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkGraphicsPipelineCreateInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkGraphicsPipelineCreateInfo.Buffer mallocStack(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkGraphicsPipelineCreateInfo.Buffer callocStack(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkGraphicsPipelineCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkGraphicsPipelineCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkGraphicsPipelineCreateInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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
public static VkPipelineShaderStageCreateInfo.Buffer npStages(long struct)
Unsafe version ofpStages().
-
npVertexInputState
@Nullable public static VkPipelineVertexInputStateCreateInfo npVertexInputState(long struct)
Unsafe version ofpVertexInputState().
-
npInputAssemblyState
@Nullable public static VkPipelineInputAssemblyStateCreateInfo npInputAssemblyState(long struct)
Unsafe version ofpInputAssemblyState().
-
npTessellationState
@Nullable public static VkPipelineTessellationStateCreateInfo npTessellationState(long struct)
Unsafe version ofpTessellationState().
-
npViewportState
@Nullable public static VkPipelineViewportStateCreateInfo npViewportState(long struct)
Unsafe version ofpViewportState().
-
npRasterizationState
public static VkPipelineRasterizationStateCreateInfo npRasterizationState(long struct)
Unsafe version ofpRasterizationState().
-
npMultisampleState
@Nullable public static VkPipelineMultisampleStateCreateInfo npMultisampleState(long struct)
Unsafe version ofpMultisampleState().
-
npDepthStencilState
@Nullable public static VkPipelineDepthStencilStateCreateInfo npDepthStencilState(long struct)
Unsafe version ofpDepthStencilState().
-
npColorBlendState
@Nullable public static VkPipelineColorBlendStateCreateInfo npColorBlendState(long struct)
Unsafe version ofpColorBlendState().
-
npDynamicState
@Nullable public static VkPipelineDynamicStateCreateInfo npDynamicState(long struct)
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
public static void npStages(long struct, VkPipelineShaderStageCreateInfo.Buffer value)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
public static void npViewportState(long struct, @Nullable VkPipelineViewportStateCreateInfo value)Unsafe version ofpViewportState.
-
npRasterizationState
public static void npRasterizationState(long struct, 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
public static void npDynamicState(long struct, @Nullable VkPipelineDynamicStateCreateInfo value)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
-
validate
public static void validate(long array, int count)Callsvalidate(long)for each struct contained in the specified struct array.- Parameters:
array- the struct array to validatecount- the number of structs inarray
-
-