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.NativeResource
Structure specifying parameters of a newly created graphics pipeline.Description
The parameters
basePipelineHandle
andbasePipelineIndex
are described in more detail in Pipeline Derivatives.pStages
points to an array ofVkPipelineShaderStageCreateInfo
structures, which were previously described in Compute Pipelines.pDynamicState
points 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_NV
will be generated.Valid Usage
- If
flags
contains thePIPELINE_CREATE_DERIVATIVE_BIT
flag, andbasePipelineIndex
is -1,basePipelineHandle
must be a valid handle to a graphicsVkPipeline
- If
flags
contains thePIPELINE_CREATE_DERIVATIVE_BIT
flag, andbasePipelineHandle
isNULL_HANDLE
,basePipelineIndex
must be a valid index into the calling command’spCreateInfos
parameter - If
flags
contains thePIPELINE_CREATE_DERIVATIVE_BIT
flag, andbasePipelineIndex
is not -1,basePipelineHandle
must beNULL_HANDLE
- If
flags
contains thePIPELINE_CREATE_DERIVATIVE_BIT
flag, andbasePipelineHandle
is notNULL_HANDLE
,basePipelineIndex
must be -1 - The
stage
member of each element ofpStages
must be unique - The geometric shader stages provided in
pStages
must be either from the mesh shading pipeline (stage
isSHADER_STAGE_TASK_BIT_NV
orSHADER_STAGE_MESH_BIT_NV
) or from the primitive shading pipeline (stage
isSHADER_STAGE_VERTEX_BIT
,SHADER_STAGE_TESSELLATION_CONTROL_BIT
,SHADER_STAGE_TESSELLATION_EVALUATION_BIT
, orSHADER_STAGE_GEOMETRY_BIT
). - The
stage
member of one element ofpStages
must be eitherSHADER_STAGE_VERTEX_BIT
orSHADER_STAGE_MESH_BIT_NV
. - The
stage
member of each element ofpStages
must not beSHADER_STAGE_COMPUTE_BIT
- If
pStages
includes a tessellation control shader stage, it must include a tessellation evaluation shader stage - If
pStages
includes a tessellation evaluation shader stage, it must include a tessellation control shader stage - If
pStages
includes a tessellation control shader stage and a tessellation evaluation shader stage,pTessellationState
must be a valid pointer to a validVkPipelineTessellationStateCreateInfo
structure - If
pStages
includes tessellation shader stages, the shader code of at least one stage must contain anOpExecutionMode
instruction that specifies the type of subdivision in the pipeline - If
pStages
includes tessellation shader stages, and the shader code of both stages contain anOpExecutionMode
instruction that specifies the type of subdivision in the pipeline, they must both specify the same subdivision mode - If
pStages
includes tessellation shader stages, the shader code of at least one stage must contain anOpExecutionMode
instruction that specifies the output patch size in the pipeline - If
pStages
includes tessellation shader stages, and the shader code of both contain anOpExecutionMode
instruction that specifies the out patch size in the pipeline, they must both specify the same patch size - If
pStages
includes tessellation shader stages, thetopology
member ofpInputAssembly
must bePRIMITIVE_TOPOLOGY_PATCH_LIST
- If the
topology
member ofpInputAssembly
isPRIMITIVE_TOPOLOGY_PATCH_LIST
,pStages
must include tessellation shader stages - If
pStages
includes a geometry shader stage, and does not include any tessellation shader stages, its shader code must contain anOpExecutionMode
instruction that specifies an input primitive type that is compatible with the primitive topology specified inpInputAssembly
- If
pStages
includes a geometry shader stage, and also includes tessellation shader stages, its shader code must contain anOpExecutionMode
instruction that specifies an input primitive type that is compatible with the primitive topology that is output by the tessellation stages - If
pStages
includes 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
pStages
includes a fragment shader stage, its shader code must not read from any input attachment that is defined asATTACHMENT_UNUSED
insubpass
- 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
subpass
uses a depth/stencil attachment inrenderPass
that has a layout ofIMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL
orIMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL
in theVkAttachmentReference
defined bysubpass
, thedepthWriteEnable
member ofpDepthStencilState
must beFALSE
- If rasterization is not disabled and
subpass
uses a depth/stencil attachment inrenderPass
that has a layout ofIMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL
orIMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL
in theVkAttachmentReference
defined bysubpass
, thefailOp
,passOp
anddepthFailOp
members of each of thefront
andback
members ofpDepthStencilState
must beSTENCIL_OP_KEEP
- If rasterization is not disabled and the subpass uses color attachments, then for each color attachment in the subpass the
blendEnable
member of the corresponding element of thepAttachment
member ofpColorBlendState
must beFALSE
if 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
attachmentCount
member ofpColorBlendState
must be equal to thecolorAttachmentCount
used to createsubpass
- If no element of the
pDynamicStates
member ofpDynamicState
isDYNAMIC_STATE_VIEWPORT
, thepViewports
member ofpViewportState
must be a valid pointer to an array ofpViewportState
::viewportCount
validVkViewport
structures - If no element of the
pDynamicStates
member ofpDynamicState
isDYNAMIC_STATE_SCISSOR
, thepScissors
member ofpViewportState
must be a valid pointer to an array ofpViewportState
::scissorCount
VkRect2D
structures - If the wide lines feature is not enabled, and no element of the
pDynamicStates
member ofpDynamicState
isDYNAMIC_STATE_LINE_WIDTH
, thelineWidth
member ofpRasterizationState
must be1.0
- If the
rasterizerDiscardEnable
member ofpRasterizationState
isFALSE
,pViewportState
must be a valid pointer to a validVkPipelineViewportStateCreateInfo
structure - If the
rasterizerDiscardEnable
member ofpRasterizationState
isFALSE
,pMultisampleState
must be a valid pointer to a validVkPipelineMultisampleStateCreateInfo
structure - If the
rasterizerDiscardEnable
member ofpRasterizationState
isFALSE
, andsubpass
uses a depth/stencil attachment,pDepthStencilState
must be a valid pointer to a validVkPipelineDepthStencilStateCreateInfo
structure - If the
rasterizerDiscardEnable
member ofpRasterizationState
isFALSE
, andsubpass
uses color attachments,pColorBlendState
must be a valid pointer to a validVkPipelineColorBlendStateCreateInfo
structure - If the depth bias clamping feature is not enabled, no element of the
pDynamicStates
member ofpDynamicState
isDYNAMIC_STATE_DEPTH_BIAS
, and thedepthBiasEnable
member ofpRasterizationState
isTRUE
, thedepthBiasClamp
member ofpRasterizationState
must be0.0
- If the
VK_EXT_depth_range_unrestricted
extension is not enabled and no element of thepDynamicStates
member ofpDynamicState
isDYNAMIC_STATE_DEPTH_BOUNDS
, and thedepthBoundsTestEnable
member ofpDepthStencilState
isTRUE
, theminDepthBounds
andmaxDepthBounds
members ofpDepthStencilState
must be between0.0
and1.0
, inclusive - If no element of the
pDynamicStates
member ofpDynamicState
isDYNAMIC_STATE_SAMPLE_LOCATIONS_EXT
, and thesampleLocationsEnable
member of aVkPipelineSampleLocationsStateCreateInfoEXT
structure chained to thepNext
chain ofpMultisampleState
isTRUE
,sampleLocationsInfo.sampleLocationGridSize.width
must evenly divideVkMultisamplePropertiesEXT
::sampleLocationGridSize
.width as returned byGetPhysicalDeviceMultisamplePropertiesEXT
with asamples
parameter equalingrasterizationSamples
- If no element of the
pDynamicStates
member ofpDynamicState
isDYNAMIC_STATE_SAMPLE_LOCATIONS_EXT
, and thesampleLocationsEnable
member of aVkPipelineSampleLocationsStateCreateInfoEXT
structure chained to thepNext
chain ofpMultisampleState
isTRUE
,sampleLocationsInfo.sampleLocationGridSize.height
must evenly divideVkMultisamplePropertiesEXT
::sampleLocationGridSize
.height as returned byGetPhysicalDeviceMultisamplePropertiesEXT
with asamples
parameter equalingrasterizationSamples
- If no element of the
pDynamicStates
member ofpDynamicState
isDYNAMIC_STATE_SAMPLE_LOCATIONS_EXT
, and thesampleLocationsEnable
member of aVkPipelineSampleLocationsStateCreateInfoEXT
structure chained to thepNext
chain ofpMultisampleState
isTRUE
,sampleLocationsInfo.sampleLocationsPerPixel
must equalrasterizationSamples
- If the
sampleLocationsEnable
member of aVkPipelineSampleLocationsStateCreateInfoEXT
structure chained to thepNext
chain ofpMultisampleState
isTRUE
, the fragment shader code must not statically use the extended instructionInterpolateAtSample
layout
must be consistent with all shaders specified inpStages
- If neither the
VK_AMD_mixed_attachment_samples
nor theVK_NV_framebuffer_mixed_samples
extensions are enabled, and ifsubpass
uses color and/or depth/stencil attachments, then therasterizationSamples
member ofpMultisampleState
must be the same as the sample count for those subpass attachments - If the
VK_AMD_mixed_attachment_samples
extension is enabled, and ifsubpass
uses color and/or depth/stencil attachments, then therasterizationSamples
member ofpMultisampleState
must equal the maximum of the sample counts of those subpass attachments - If the
VK_NV_framebuffer_mixed_samples
extension is enabled, and ifsubpass
has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled, then therasterizationSamples
member ofpMultisampleState
must be the same as the sample count of the depth/stencil attachment - If the
VK_NV_framebuffer_mixed_samples
extension is enabled, and ifsubpass
has any color attachments, then therasterizationSamples
member ofpMultisampleState
must be greater than or equal to the sample count for those subpass attachments - If the
VK_NV_coverage_reduction_mode
extension is enabled, the coverage reduction mode specified byVkPipelineCoverageReductionStateCreateInfoNV
::coverageReductionMode
, therasterizationSamples
member ofpMultisampleState
and the sample counts for the color and depth/stencil attachments (if the subpass has them) must be a valid combination returned byvkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
- If
subpass
does not use any color and/or depth/stencil attachments, then therasterizationSamples
member ofpMultisampleState
must follow the rules for a zero-attachment subpass subpass
must be a valid subpass withinrenderPass
- If the
renderPass
has multiview enabled andsubpass
has more than one bit set in the view mask andmultiviewTessellationShader
is not enabled, thenpStages
must not include tessellation shaders. - If the
renderPass
has multiview enabled andsubpass
has more than one bit set in the view mask andmultiviewGeometryShader
is not enabled, thenpStages
must not include a geometry shader. - If the
renderPass
has multiview enabled andsubpass
has more than one bit set in the view mask, shaders in the pipeline must not write to theLayer
built-in output - If the
renderPass
has multiview enabled, then all shaders must not include variables decorated with theLayer
built-in decoration in their interfaces. flags
must not contain thePIPELINE_CREATE_DISPATCH_BASE
flag.- If
pStages
includes a fragment shader stage and an input attachment was referenced by theVkRenderPassInputAttachmentAspectCreateInfo
atrenderPass
create time, its shader code must not read from any aspect that was not specified in theaspectMask
of the correspondingVkInputAttachmentAspectReference
structure. - The number of resources in
layout
accessible to each shader stage that is used by the pipeline must be less than or equal toVkPhysicalDeviceLimits
::maxPerStageResources
- If no element of the
pDynamicStates
member ofpDynamicState
isDYNAMIC_STATE_VIEWPORT_W_SCALING_NV
, and theviewportWScalingEnable
member of aVkPipelineViewportWScalingStateCreateInfoNV
structure, chained to thepNext
chain ofpViewportState
, isTRUE
, thepViewportWScalings
member of theVkPipelineViewportWScalingStateCreateInfoNV
must be a pointer to an array ofVkPipelineViewportWScalingStateCreateInfoNV
::viewportCount
validVkViewportWScalingNV
structures - If
pStages
includes a vertex shader stage,pVertexInputState
must be a valid pointer to a validVkPipelineVertexInputStateCreateInfo
structure - If
pStages
includes a vertex shader stage,pInputAssemblyState
must be a valid pointer to a validVkPipelineInputAssemblyStateCreateInfo
structure - The
Xfb
execution mode can be specified by only one shader stage inpStages
- If any shader stage in
pStages
specifiesXfb
execution mode it must be the last vertex processing stage - If a
VkPipelineRasterizationStateStreamCreateInfoEXT
::rasterizationStream
value other than zero is specified, all variables in the output interface of the entry point being compiled decorated withPosition
,PointSize
,ClipDistance
, orCullDistance
must all be decorated with identicalStream
values that match therasterizationStream
- If
VkPipelineRasterizationStateStreamCreateInfoEXT
::rasterizationStream
is zero, or not specified, all variables in the output interface of the entry point being compiled decorated withPosition
,PointSize
,ClipDistance
, orCullDistance
must all be decorated with aStream
value of zero, or must not specify theStream
decoration - If the last vertex processing stage is a geometry shader, and that geometry shader uses the
GeometryStreams
capability, thenVkPhysicalDeviceTransformFeedbackFeaturesEXT
::geometryStreams
feature 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
Xfb
execution mode. - If the
lineRasterizationMode
member of aVkPipelineRasterizationLineStateCreateInfoEXT
structure chained to thepNext
chain ofpRasterizationState
isLINE_RASTERIZATION_MODE_BRESENHAM_EXT
orLINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT
and if rasterization is enabled, then thealphaToCoverageEnable
,alphaToOneEnable
, andsampleShadingEnable
members ofpMultisampleState
must all beFALSE
- If the
stippledLineEnable
member ofVkPipelineRasterizationLineStateCreateInfoEXT
isTRUE
and no element of thepDynamicStates
member ofpDynamicState
isDYNAMIC_STATE_LINE_STIPPLE_EXT
, then thelineStippleFactor
member ofVkPipelineRasterizationLineStateCreateInfoEXT
must be in the range[1,256]
Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO
- Each
pNext
member of any structure (including this one) in thepNext
chain must be eitherNULL
or a pointer to a valid instance ofVkPipelineCompilerControlCreateInfoAMD
,VkPipelineCreationFeedbackCreateInfoEXT
,VkPipelineDiscardRectangleStateCreateInfoEXT
, orVkPipelineRepresentativeFragmentTestStateCreateInfoNV
- Each
sType
member in thepNext
chain must be unique flags
must be a valid combination ofVkPipelineCreateFlagBits
valuespStages
must be a valid pointer to an array ofstageCount
validVkPipelineShaderStageCreateInfo
structurespRasterizationState
must be a valid pointer to a validVkPipelineRasterizationStateCreateInfo
structure- If
pDynamicState
is notNULL
,pDynamicState
must be a valid pointer to a validVkPipelineDynamicStateCreateInfo
structure layout
must be a validVkPipelineLayout
handlerenderPass
must be a validVkRenderPass
handlestageCount
must be greater than 0- Each of
basePipelineHandle
,layout
, andrenderPass
that 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
,CreateGraphicsPipelines
Member documentation
sType
– the type of this structure.pNext
–NULL
or a pointer to an extension-specific structure.flags
– a bitmask ofVkPipelineCreateFlagBits
specifying how the pipeline will be generated.stageCount
– the number of entries in thepStages
array.pStages
– an array of sizestageCount
structures of typeVkPipelineShaderStageCreateInfo
describing the set of the shader stages to be included in the graphics pipeline.pVertexInputState
– a pointer to an instance of theVkPipelineVertexInputStateCreateInfo
structure. It is ignored if the pipeline includes a mesh shader stage.pInputAssemblyState
– a pointer to an instance of theVkPipelineInputAssemblyStateCreateInfo
structure 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 theVkPipelineTessellationStateCreateInfo
structure, 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 theVkPipelineViewportStateCreateInfo
structure, and is ignored if the pipeline has rasterization disabled.pRasterizationState
– a pointer to an instance of theVkPipelineRasterizationStateCreateInfo
structure.pMultisampleState
– a pointer to an instance of theVkPipelineMultisampleStateCreateInfo
, and is ignored if the pipeline has rasterization disabled.pDepthStencilState
– a pointer to an instance of theVkPipelineDepthStencilStateCreateInfo
structure, 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 theVkPipelineColorBlendStateCreateInfo
structure, 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 toVkPipelineDynamicStateCreateInfo
and 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 thepCreateInfos
parameter to use as a pipeline to derive from.
Layout
struct VkGraphicsPipelineCreateInfo { VkStructureType sType; void const * pNext; VkPipelineCreateFlags flags; uint32_t stageCount;
VkPipelineShaderStageCreateInfo
const * pStages;VkPipelineVertexInputStateCreateInfo
const * pVertexInputState;VkPipelineInputAssemblyStateCreateInfo
const * pInputAssemblyState;VkPipelineTessellationStateCreateInfo
const * pTessellationState;VkPipelineViewportStateCreateInfo
const * pViewportState;VkPipelineRasterizationStateCreateInfo
const * pRasterizationState;VkPipelineMultisampleStateCreateInfo
const * pMultisampleState;VkPipelineDepthStencilStateCreateInfo
const * pDepthStencilState;VkPipelineColorBlendStateCreateInfo
const * pColorBlendState;VkPipelineDynamicStateCreateInfo
const * pDynamicState; VkPipelineLayout layout; VkRenderPass renderPass; uint32_t subpass; VkPipeline basePipelineHandle; int32_t basePipelineIndex; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkGraphicsPipelineCreateInfo.Buffer
An array ofVkGraphicsPipelineCreateInfo
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
BASEPIPELINEHANDLE
BASEPIPELINEINDEX
FLAGS
LAYOUT
PCOLORBLENDSTATE
PDEPTHSTENCILSTATE
PDYNAMICSTATE
PINPUTASSEMBLYSTATE
PMULTISAMPLESTATE
PNEXT
PRASTERIZATIONSTATE
PSTAGES
PTESSELLATIONSTATE
PVERTEXINPUTSTATE
PVIEWPORTSTATE
RENDERPASSThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STAGECOUNT
STYPE
SUBPASSThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkGraphicsPipelineCreateInfo(java.nio.ByteBuffer container)
Creates aVkGraphicsPipelineCreateInfo
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
basePipelineHandle()
Returns the value of thebasePipelineHandle
field.VkGraphicsPipelineCreateInfo
basePipelineHandle(long value)
Sets the specified value to thebasePipelineHandle
field.int
basePipelineIndex()
Returns the value of thebasePipelineIndex
field.VkGraphicsPipelineCreateInfo
basePipelineIndex(int value)
Sets the specified value to thebasePipelineIndex
field.static VkGraphicsPipelineCreateInfo
calloc()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withmemCalloc
.static VkGraphicsPipelineCreateInfo.Buffer
calloc(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withmemCalloc
.static VkGraphicsPipelineCreateInfo
callocStack()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkGraphicsPipelineCreateInfo.Buffer
callocStack(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkGraphicsPipelineCreateInfo.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkGraphicsPipelineCreateInfo
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkGraphicsPipelineCreateInfo
create()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withBufferUtils
.static VkGraphicsPipelineCreateInfo.Buffer
create(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withBufferUtils
.static VkGraphicsPipelineCreateInfo
create(long address)
Returns a newVkGraphicsPipelineCreateInfo
instance for the specified memory address.static VkGraphicsPipelineCreateInfo.Buffer
create(long address, int capacity)
Create aVkGraphicsPipelineCreateInfo.Buffer
instance at the specified memory.static VkGraphicsPipelineCreateInfo
createSafe(long address)
static VkGraphicsPipelineCreateInfo.Buffer
createSafe(long address, int capacity)
int
flags()
Returns the value of theflags
field.VkGraphicsPipelineCreateInfo
flags(int value)
Sets the specified value to theflags
field.long
layout()
Returns the value of thelayout
field.VkGraphicsPipelineCreateInfo
layout(long value)
Sets the specified value to thelayout
field.static VkGraphicsPipelineCreateInfo
malloc()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withmemAlloc
.static VkGraphicsPipelineCreateInfo.Buffer
malloc(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withmemAlloc
.static VkGraphicsPipelineCreateInfo
mallocStack()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the thread-localMemoryStack
.static VkGraphicsPipelineCreateInfo.Buffer
mallocStack(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated on the thread-localMemoryStack
.static VkGraphicsPipelineCreateInfo.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated on the specifiedMemoryStack
.static VkGraphicsPipelineCreateInfo
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the specifiedMemoryStack
.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 VkPipelineColorBlendStateCreateInfo
npColorBlendState(long struct)
Unsafe version ofpColorBlendState()
.static void
npColorBlendState(long struct, VkPipelineColorBlendStateCreateInfo value)
Unsafe version ofpColorBlendState
.static VkPipelineDepthStencilStateCreateInfo
npDepthStencilState(long struct)
Unsafe version ofpDepthStencilState()
.static void
npDepthStencilState(long struct, VkPipelineDepthStencilStateCreateInfo value)
Unsafe version ofpDepthStencilState
.static VkPipelineDynamicStateCreateInfo
npDynamicState(long struct)
Unsafe version ofpDynamicState()
.static void
npDynamicState(long struct, VkPipelineDynamicStateCreateInfo value)
Unsafe version ofpDynamicState
.static VkPipelineInputAssemblyStateCreateInfo
npInputAssemblyState(long struct)
Unsafe version ofpInputAssemblyState()
.static void
npInputAssemblyState(long struct, VkPipelineInputAssemblyStateCreateInfo value)
Unsafe version ofpInputAssemblyState
.static VkPipelineMultisampleStateCreateInfo
npMultisampleState(long struct)
Unsafe version ofpMultisampleState()
.static void
npMultisampleState(long struct, VkPipelineMultisampleStateCreateInfo value)
Unsafe version ofpMultisampleState
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static VkPipelineRasterizationStateCreateInfo
npRasterizationState(long struct)
Unsafe version ofpRasterizationState()
.static void
npRasterizationState(long struct, VkPipelineRasterizationStateCreateInfo value)
Unsafe version ofpRasterizationState
.static VkPipelineShaderStageCreateInfo.Buffer
npStages(long struct)
Unsafe version ofpStages()
.static void
npStages(long struct, VkPipelineShaderStageCreateInfo.Buffer value)
Unsafe version ofpStages
.static VkPipelineTessellationStateCreateInfo
npTessellationState(long struct)
Unsafe version ofpTessellationState()
.static void
npTessellationState(long struct, VkPipelineTessellationStateCreateInfo value)
Unsafe version ofpTessellationState
.static VkPipelineVertexInputStateCreateInfo
npVertexInputState(long struct)
Unsafe version ofpVertexInputState()
.static void
npVertexInputState(long struct, VkPipelineVertexInputStateCreateInfo value)
Unsafe version ofpVertexInputState
.static VkPipelineViewportStateCreateInfo
npViewportState(long struct)
Unsafe version ofpViewportState()
.static void
npViewportState(long struct, 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
.VkPipelineColorBlendStateCreateInfo
pColorBlendState()
Returns aVkPipelineColorBlendStateCreateInfo
view of the struct pointed to by thepColorBlendState
field.VkGraphicsPipelineCreateInfo
pColorBlendState(VkPipelineColorBlendStateCreateInfo value)
Sets the address of the specifiedVkPipelineColorBlendStateCreateInfo
to thepColorBlendState
field.VkPipelineDepthStencilStateCreateInfo
pDepthStencilState()
Returns aVkPipelineDepthStencilStateCreateInfo
view of the struct pointed to by thepDepthStencilState
field.VkGraphicsPipelineCreateInfo
pDepthStencilState(VkPipelineDepthStencilStateCreateInfo value)
Sets the address of the specifiedVkPipelineDepthStencilStateCreateInfo
to thepDepthStencilState
field.VkPipelineDynamicStateCreateInfo
pDynamicState()
Returns aVkPipelineDynamicStateCreateInfo
view of the struct pointed to by thepDynamicState
field.VkGraphicsPipelineCreateInfo
pDynamicState(VkPipelineDynamicStateCreateInfo value)
Sets the address of the specifiedVkPipelineDynamicStateCreateInfo
to thepDynamicState
field.VkPipelineInputAssemblyStateCreateInfo
pInputAssemblyState()
Returns aVkPipelineInputAssemblyStateCreateInfo
view of the struct pointed to by thepInputAssemblyState
field.VkGraphicsPipelineCreateInfo
pInputAssemblyState(VkPipelineInputAssemblyStateCreateInfo value)
Sets the address of the specifiedVkPipelineInputAssemblyStateCreateInfo
to thepInputAssemblyState
field.VkPipelineMultisampleStateCreateInfo
pMultisampleState()
Returns aVkPipelineMultisampleStateCreateInfo
view of the struct pointed to by thepMultisampleState
field.VkGraphicsPipelineCreateInfo
pMultisampleState(VkPipelineMultisampleStateCreateInfo value)
Sets the address of the specifiedVkPipelineMultisampleStateCreateInfo
to thepMultisampleState
field.long
pNext()
Returns the value of thepNext
field.VkGraphicsPipelineCreateInfo
pNext(long value)
Sets the specified value to thepNext
field.VkPipelineRasterizationStateCreateInfo
pRasterizationState()
Returns aVkPipelineRasterizationStateCreateInfo
view of the struct pointed to by thepRasterizationState
field.VkGraphicsPipelineCreateInfo
pRasterizationState(VkPipelineRasterizationStateCreateInfo value)
Sets the address of the specifiedVkPipelineRasterizationStateCreateInfo
to thepRasterizationState
field.VkPipelineShaderStageCreateInfo.Buffer
pStages()
Returns aVkPipelineShaderStageCreateInfo.Buffer
view of the struct array pointed to by thepStages
field.VkGraphicsPipelineCreateInfo
pStages(VkPipelineShaderStageCreateInfo.Buffer value)
Sets the address of the specifiedVkPipelineShaderStageCreateInfo.Buffer
to thepStages
field.VkPipelineTessellationStateCreateInfo
pTessellationState()
Returns aVkPipelineTessellationStateCreateInfo
view of the struct pointed to by thepTessellationState
field.VkGraphicsPipelineCreateInfo
pTessellationState(VkPipelineTessellationStateCreateInfo value)
Sets the address of the specifiedVkPipelineTessellationStateCreateInfo
to thepTessellationState
field.VkPipelineVertexInputStateCreateInfo
pVertexInputState()
Returns aVkPipelineVertexInputStateCreateInfo
view of the struct pointed to by thepVertexInputState
field.VkGraphicsPipelineCreateInfo
pVertexInputState(VkPipelineVertexInputStateCreateInfo value)
Sets the address of the specifiedVkPipelineVertexInputStateCreateInfo
to thepVertexInputState
field.VkPipelineViewportStateCreateInfo
pViewportState()
Returns aVkPipelineViewportStateCreateInfo
view of the struct pointed to by thepViewportState
field.VkGraphicsPipelineCreateInfo
pViewportState(VkPipelineViewportStateCreateInfo value)
Sets the address of the specifiedVkPipelineViewportStateCreateInfo
to thepViewportState
field.long
renderPass()
Returns the value of therenderPass
field.VkGraphicsPipelineCreateInfo
renderPass(long value)
Sets the specified value to therenderPass
field.VkGraphicsPipelineCreateInfo
set(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.VkGraphicsPipelineCreateInfo
set(VkGraphicsPipelineCreateInfo src)
Copies the specified struct data to this struct.int
sizeof()
int
stageCount()
Returns the value of thestageCount
field.int
sType()
Returns the value of thesType
field.VkGraphicsPipelineCreateInfo
sType(int value)
Sets the specified value to thesType
field.int
subpass()
Returns the value of thesubpass
field.VkGraphicsPipelineCreateInfo
subpass(int value)
Sets the specified value to thesubpass
field.static void
validate(long struct)
Validates pointer members that should not beNULL
.static void
validate(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 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
sType
public int sType()
Returns the value of thesType
field.
-
pNext
public long pNext()
Returns the value of thepNext
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
stageCount
public int stageCount()
Returns the value of thestageCount
field.
-
pStages
public VkPipelineShaderStageCreateInfo.Buffer pStages()
Returns aVkPipelineShaderStageCreateInfo.Buffer
view of the struct array pointed to by thepStages
field.
-
pVertexInputState
@Nullable public VkPipelineVertexInputStateCreateInfo pVertexInputState()
Returns aVkPipelineVertexInputStateCreateInfo
view of the struct pointed to by thepVertexInputState
field.
-
pInputAssemblyState
@Nullable public VkPipelineInputAssemblyStateCreateInfo pInputAssemblyState()
Returns aVkPipelineInputAssemblyStateCreateInfo
view of the struct pointed to by thepInputAssemblyState
field.
-
pTessellationState
@Nullable public VkPipelineTessellationStateCreateInfo pTessellationState()
Returns aVkPipelineTessellationStateCreateInfo
view of the struct pointed to by thepTessellationState
field.
-
pViewportState
@Nullable public VkPipelineViewportStateCreateInfo pViewportState()
Returns aVkPipelineViewportStateCreateInfo
view of the struct pointed to by thepViewportState
field.
-
pRasterizationState
public VkPipelineRasterizationStateCreateInfo pRasterizationState()
Returns aVkPipelineRasterizationStateCreateInfo
view of the struct pointed to by thepRasterizationState
field.
-
pMultisampleState
@Nullable public VkPipelineMultisampleStateCreateInfo pMultisampleState()
Returns aVkPipelineMultisampleStateCreateInfo
view of the struct pointed to by thepMultisampleState
field.
-
pDepthStencilState
@Nullable public VkPipelineDepthStencilStateCreateInfo pDepthStencilState()
Returns aVkPipelineDepthStencilStateCreateInfo
view of the struct pointed to by thepDepthStencilState
field.
-
pColorBlendState
@Nullable public VkPipelineColorBlendStateCreateInfo pColorBlendState()
Returns aVkPipelineColorBlendStateCreateInfo
view of the struct pointed to by thepColorBlendState
field.
-
pDynamicState
@Nullable public VkPipelineDynamicStateCreateInfo pDynamicState()
Returns aVkPipelineDynamicStateCreateInfo
view of the struct pointed to by thepDynamicState
field.
-
layout
public long layout()
Returns the value of thelayout
field.
-
renderPass
public long renderPass()
Returns the value of therenderPass
field.
-
subpass
public int subpass()
Returns the value of thesubpass
field.
-
basePipelineHandle
public long basePipelineHandle()
Returns the value of thebasePipelineHandle
field.
-
basePipelineIndex
public int basePipelineIndex()
Returns the value of thebasePipelineIndex
field.
-
sType
public VkGraphicsPipelineCreateInfo sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkGraphicsPipelineCreateInfo pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkGraphicsPipelineCreateInfo flags(int value)
Sets the specified value to theflags
field.
-
pStages
public VkGraphicsPipelineCreateInfo pStages(VkPipelineShaderStageCreateInfo.Buffer value)
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(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
public VkGraphicsPipelineCreateInfo pDynamicState(@Nullable VkPipelineDynamicStateCreateInfo value)
Sets the address of the specifiedVkPipelineDynamicStateCreateInfo
to thepDynamicState
field.
-
layout
public VkGraphicsPipelineCreateInfo layout(long value)
Sets the specified value to thelayout
field.
-
renderPass
public VkGraphicsPipelineCreateInfo renderPass(long value)
Sets the specified value to therenderPass
field.
-
subpass
public VkGraphicsPipelineCreateInfo subpass(int value)
Sets the specified value to thesubpass
field.
-
basePipelineHandle
public VkGraphicsPipelineCreateInfo basePipelineHandle(long value)
Sets the specified value to thebasePipelineHandle
field.
-
basePipelineIndex
public VkGraphicsPipelineCreateInfo basePipelineIndex(int value)
Sets the specified value to thebasePipelineIndex
field.
-
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 newVkGraphicsPipelineCreateInfo
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkGraphicsPipelineCreateInfo calloc()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkGraphicsPipelineCreateInfo create()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated withBufferUtils
.
-
create
public static VkGraphicsPipelineCreateInfo create(long address)
Returns a newVkGraphicsPipelineCreateInfo
instance for the specified memory address.
-
createSafe
@Nullable public static VkGraphicsPipelineCreateInfo createSafe(long address)
-
malloc
public static VkGraphicsPipelineCreateInfo.Buffer malloc(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkGraphicsPipelineCreateInfo.Buffer calloc(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkGraphicsPipelineCreateInfo.Buffer create(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkGraphicsPipelineCreateInfo.Buffer create(long address, int capacity)
Create aVkGraphicsPipelineCreateInfo.Buffer
instance 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 newVkGraphicsPipelineCreateInfo
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkGraphicsPipelineCreateInfo callocStack()
Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkGraphicsPipelineCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkGraphicsPipelineCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkGraphicsPipelineCreateInfo
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkGraphicsPipelineCreateInfo.Buffer callocStack(int capacity)
Returns a newVkGraphicsPipelineCreateInfo.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and 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 thestageCount
field 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
-
-