Class VkRenderPassCreateInfo2
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkRenderPassCreateInfo2KHR
Description
Parameters defined by this structure with the same name as those in VkRenderPassCreateInfo have the identical effect to those parameters; the child structures are variants of those used in VkRenderPassCreateInfo which add sType and pNext parameters, allowing them to be extended.
If the VkSubpassDescription2::viewMask member of any element of pSubpasses is not zero, multiview functionality is considered to be enabled for this render pass.
correlatedViewMaskCount and pCorrelatedViewMasks have the same effect as VkRenderPassMultiviewCreateInfo::correlationMaskCount and VkRenderPassMultiviewCreateInfo::pCorrelationMasks, respectively.
Valid Usage
- If any two subpasses operate on attachments with overlapping ranges of the same
VkDeviceMemoryobject, and at least one subpass writes to that area ofVkDeviceMemory, a subpass dependency must be included (either directly or via some intermediate subpasses) between them - If the
attachmentmember of any element ofpInputAttachments,pColorAttachments,pResolveAttachmentsorpDepthStencilAttachment, or the attachment indexed by any element ofpPreserveAttachmentsin any element ofpSubpassesis bound to a range of aVkDeviceMemoryobject that overlaps with any other attachment in any subpass (including the same subpass), theVkAttachmentDescription2structures describing them must includeATTACHMENT_DESCRIPTION_MAY_ALIAS_BITinflags - If the
attachmentmember of any element ofpInputAttachments,pColorAttachments,pResolveAttachmentsorpDepthStencilAttachment, or any element ofpPreserveAttachmentsin any element ofpSubpassesis notATTACHMENT_UNUSED, then it must be less thanattachmentCount - If the pNext chain includes a
VkRenderPassFragmentDensityMapCreateInfoEXTstructure and thefragmentDensityMapAttachmentmember is notATTACHMENT_UNUSED, thenattachmentmust be less thanattachmentCount - If the
pSubpassespNext chain includes aVkSubpassDescriptionDepthStencilResolvestructure and thepDepthStencilResolveAttachmentmember is notNULLand does not have the valueATTACHMENT_UNUSED, thenattachmentmust be less thanattachmentCount - For any member of
pAttachmentswith aloadOpequal toATTACHMENT_LOAD_OP_CLEAR, the first use of that attachment must not specify alayoutequal toIMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, orIMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL - For any member of
pAttachmentswith astencilLoadOpequal toATTACHMENT_LOAD_OP_CLEAR, the first use of that attachment must not specify alayoutequal toIMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL, orIMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL - For any element of
pDependencies, if thesrcSubpassis notSUBPASS_EXTERNAL, all stage flags included in thesrcStageMaskmember of that dependency must be a pipeline stage supported by the pipeline identified by thepipelineBindPointmember of the source subpass - For any element of
pDependencies, if thedstSubpassis notSUBPASS_EXTERNAL, all stage flags included in thedstStageMaskmember of that dependency must be a pipeline stage supported by the pipeline identified by thepipelineBindPointmember of the destination subpass - The set of bits included in any element of
pCorrelatedViewMasksmust not overlap with the set of bits included in any other element ofpCorrelatedViewMasks - If the
VkSubpassDescription2::viewMaskmember of all elements ofpSubpassesis 0,correlatedViewMaskCountmust be 0 - The
VkSubpassDescription2::viewMaskmember of all elements ofpSubpassesmust either all be 0, or all not be 0 - If the
VkSubpassDescription2::viewMaskmember of all elements ofpSubpassesis 0, thedependencyFlagsmember of any element ofpDependenciesmust not includeDEPENDENCY_VIEW_LOCAL_BIT - For any element of
pDependencieswhere itssrcSubpassmember equals itsdstSubpassmember, if theviewMaskmember of the corresponding element ofpSubpassesincludes more than one bit, itsdependencyFlagsmember must includeDEPENDENCY_VIEW_LOCAL_BIT - If the
attachmentmember of any element of thepInputAttachmentsmember of any element ofpSubpassesis notATTACHMENT_UNUSED, theaspectMaskmember of that element ofpInputAttachmentsmust only include aspects that are present in images of the format specified by the element ofpAttachmentsspecified byattachment - The
srcSubpassmember of each element ofpDependenciesmust be less thansubpassCount - The
dstSubpassmember of each element ofpDependenciesmust be less thansubpassCount - If any element of
pAttachmentsis used as a fragment shading rate attachment in any subpass, it must not be used as any other attachment in the render pass - If any element of
pAttachmentsis used as a fragment shading rate attachment, theloadOpfor that attachment must not beATTACHMENT_LOAD_OP_CLEAR - If
flagsincludesRENDER_PASS_CREATE_TRANSFORM_BIT_QCOM, an element ofpSubpassesincludes an instance ofVkFragmentShadingRateAttachmentInfoKHRin itspNextchain, and thepFragmentShadingRateAttachmentmember of that structure is not equal toNULL, theattachmentmember ofpFragmentShadingRateAttachmentmust beATTACHMENT_UNUSED - If any element of
pAttachmentsis used as a fragment shading rate attachment in any subpass, it must have an image format whose potential format features containFORMAT_FEATURE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR - If the pipeline is being created with fragment shader state, and the
{@link QCOMRenderPassShaderResolve VK_QCOM_render_pass_shader_resolve} extensionis enabled, and if subpass has any input attachments, and if the subpass description containsSUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM, then the sample count of the input attachments must equalrasterizationSamples - If the pipeline is being created with fragment shader state, and the
VK_QCOM_render_pass_shader_resolveextension is enabled, and if the subpass description containsSUBPASS_DESCRIPTION_FRAGMENT_REGION_BIT_QCOM, thensampleShadingEnablemust be false - If
flagsincludesSUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM, and ifpResolveAttachmentsis notNULL, then each resolve attachment must beATTACHMENT_UNUSED - If
flagsincludesSUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM, and ifpDepthStencilResolveAttachmentis notNULL, then the depth/stencil resolve attachment must beATTACHMENT_UNUSED - If
flagsincludesSUBPASS_DESCRIPTION_SHADER_RESOLVE_BIT_QCOM, then the subpass must be the last subpass in a subpass dependency chain - If the
attachmentmember of thepDepthStencilAttachmentmember of an element ofpSubpassesis notATTACHMENT_UNUSED, thelayoutmember of that same structure is eitherIMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMALorIMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, and thepNextchain of that structure does not include aVkAttachmentReferenceStencilLayoutstructure, then the element ofpAttachmentswith an index equal toattachmentmust not have aformatthat includes both depth and stencil components - If the
attachmentmember of thepDepthStencilAttachmentmember of an element ofpSubpassesis notATTACHMENT_UNUSEDand thelayoutmember of that same structure is eitherIMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMALorIMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL, then the element ofpAttachmentswith an index equal toattachmentmust have aformatthat includes only a stencil component - If the
attachmentmember of thepDepthStencilAttachmentmember of an element ofpSubpassesis notATTACHMENT_UNUSEDand thelayoutmember of that same structure is eitherIMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMALorIMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL, then the element ofpAttachmentswith an index equal toattachmentmust not have aformatthat includes only a stencil component - If any element of
pResolveAttachmentsof any element ofpSubpassesreferences an attachment description with a format ofFORMAT_UNDEFINED,VkRenderPassFragmentDensityMapCreateInfoEXT::fragmentDensityMapAttachment→attachmentmust beATTACHMENT_UNUSED
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2- Each
pNextmember of any structure (including this one) in thepNextchain must be eitherNULLor a pointer to a valid instance ofVkRenderPassCreationControlEXT,VkRenderPassCreationFeedbackCreateInfoEXT, orVkRenderPassFragmentDensityMapCreateInfoEXT - The
sTypevalue of each struct in thepNextchain must be unique flagsmust be a valid combination ofVkRenderPassCreateFlagBitsvalues- If
attachmentCountis not 0,pAttachmentsmust be a valid pointer to an array ofattachmentCountvalidVkAttachmentDescription2structures pSubpassesmust be a valid pointer to an array ofsubpassCountvalidVkSubpassDescription2structures- If
dependencyCountis not 0,pDependenciesmust be a valid pointer to an array ofdependencyCountvalidVkSubpassDependency2structures - If
correlatedViewMaskCountis not 0,pCorrelatedViewMasksmust be a valid pointer to an array ofcorrelatedViewMaskCountuint32_tvalues subpassCountmust be greater than 0
See Also
VkAttachmentDescription2, VkSubpassDependency2, VkSubpassDescription2, CreateRenderPass2, CreateRenderPass2KHR
Layout
struct VkRenderPassCreateInfo2 {
VkStructureType sType();
void const * pNext();
VkRenderPassCreateFlags flags();
uint32_t attachmentCount();
VkAttachmentDescription2 const * pAttachments();
uint32_t subpassCount();
VkSubpassDescription2 const * pSubpasses();
uint32_t dependencyCount();
VkSubpassDependency2 const * pDependencies();
uint32_t correlatedViewMaskCount();
uint32_t const * pCorrelatedViewMasks();
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkRenderPassCreateInfo2(ByteBuffer container) Creates aVkRenderPassCreateInfo2instance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionintthe number of attachments used by this render pass.static VkRenderPassCreateInfo2calloc()Returns a newVkRenderPassCreateInfo2instance allocated withmemCalloc.calloc(int capacity) Returns a newVkRenderPassCreateInfo2.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkRenderPassCreateInfo2.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassCreateInfo2calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkRenderPassCreateInfo2instance allocated on the specifiedMemoryStackand initializes all its bits to zero.intthe number of correlation masks.static VkRenderPassCreateInfo2create()Returns a newVkRenderPassCreateInfo2instance allocated withBufferUtils.create(int capacity) Returns a newVkRenderPassCreateInfo2.Bufferinstance allocated withBufferUtils.static VkRenderPassCreateInfo2create(long address) Returns a newVkRenderPassCreateInfo2instance for the specified memory address.create(long address, int capacity) Create aVkRenderPassCreateInfo2.Bufferinstance at the specified memory.static @Nullable VkRenderPassCreateInfo2createSafe(long address) static @Nullable VkRenderPassCreateInfo2.BuffercreateSafe(long address, int capacity) intthe number of dependencies between pairs of subpasses.intflags()reserved for future use.flags(int value) Sets the specified value to theflags()field.static VkRenderPassCreateInfo2malloc()Returns a newVkRenderPassCreateInfo2instance allocated withmemAlloc.malloc(int capacity) Returns a newVkRenderPassCreateInfo2.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkRenderPassCreateInfo2.Bufferinstance allocated on the specifiedMemoryStack.static VkRenderPassCreateInfo2malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkRenderPassCreateInfo2instance allocated on the specifiedMemoryStack.static intnattachmentCount(long struct) Unsafe version ofattachmentCount().static voidnattachmentCount(long struct, int value) Sets the specified value to theattachmentCountfield of the specifiedstruct.static intncorrelatedViewMaskCount(long struct) Unsafe version ofcorrelatedViewMaskCount().static voidncorrelatedViewMaskCount(long struct, int value) Sets the specified value to thecorrelatedViewMaskCountfield of the specifiedstruct.static intndependencyCount(long struct) Unsafe version ofdependencyCount().static voidndependencyCount(long struct, int value) Sets the specified value to thedependencyCountfield of the specifiedstruct.static intnflags(long struct) Unsafe version offlags().static voidnflags(long struct, int value) Unsafe version offlags.static @Nullable VkAttachmentDescription2.BuffernpAttachments(long struct) Unsafe version ofpAttachments().static voidnpAttachments(long struct, @Nullable VkAttachmentDescription2.Buffer value) Unsafe version ofpAttachments.static @Nullable IntBuffernpCorrelatedViewMasks(long struct) Unsafe version ofpCorrelatedViewMasks.static voidnpCorrelatedViewMasks(long struct, @Nullable IntBuffer value) Unsafe version ofpCorrelatedViewMasks.static @Nullable VkSubpassDependency2.BuffernpDependencies(long struct) Unsafe version ofpDependencies().static voidnpDependencies(long struct, @Nullable VkSubpassDependency2.Buffer value) Unsafe version ofpDependencies.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static VkSubpassDescription2.BuffernpSubpasses(long struct) Unsafe version ofpSubpasses().static voidnpSubpasses(long struct, VkSubpassDescription2.Buffer value) Unsafe version ofpSubpasses.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.static intnsubpassCount(long struct) Unsafe version ofsubpassCount().static voidnsubpassCount(long struct, int value) Sets the specified value to thesubpassCountfield of the specifiedstruct.@Nullable VkAttachmentDescription2.Buffera pointer to an array ofattachmentCountVkAttachmentDescription2structures describing the attachments used by the render pass.pAttachments(@Nullable VkAttachmentDescription2.Buffer value) Sets the address of the specifiedVkAttachmentDescription2.Bufferto thepAttachments()field.@Nullable IntBuffera pointer to an array of view masks indicating sets of views that may be more efficient to render concurrently.pCorrelatedViewMasks(@Nullable IntBuffer value) Sets the address of the specifiedIntBufferto thepCorrelatedViewMasks()field.@Nullable VkSubpassDependency2.Buffera pointer to an array ofdependencyCountVkSubpassDependency2structures describing dependencies between pairs of subpasses.pDependencies(@Nullable VkSubpassDependency2.Buffer value) Sets the address of the specifiedVkSubpassDependency2.Bufferto thepDependencies()field.longpNext()NULLor a pointer to a structure extending this structure.pNext(long value) Sets the specified value to thepNext()field.Prepends the specifiedVkRenderPassCreationControlEXTvalue to thepNextchain.Prepends the specifiedVkRenderPassCreationFeedbackCreateInfoEXTvalue to thepNextchain.Prepends the specifiedVkRenderPassFragmentDensityMapCreateInfoEXTvalue to thepNextchain.a pointer to an array ofsubpassCountVkSubpassDescription2structures describing each subpass.Sets the address of the specifiedVkSubpassDescription2.Bufferto thepSubpasses()field.set(int sType, long pNext, int flags, @Nullable VkAttachmentDescription2.Buffer pAttachments, VkSubpassDescription2.Buffer pSubpasses, @Nullable VkSubpassDependency2.Buffer pDependencies, @Nullable IntBuffer pCorrelatedViewMasks) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()intsType()aVkStructureTypevalue identifying this structure.sType(int value) Sets the specified value to thesType()field.Sets theSTRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2value to thesType()field.intthe number of subpasses to create.static voidvalidate(long struct) Validates pointer members that should not beNULL.Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
FLAGS
public static final int FLAGSThe struct member offsets. -
ATTACHMENTCOUNT
public static final int ATTACHMENTCOUNTThe struct member offsets. -
PATTACHMENTS
public static final int PATTACHMENTSThe struct member offsets. -
SUBPASSCOUNT
public static final int SUBPASSCOUNTThe struct member offsets. -
PSUBPASSES
public static final int PSUBPASSESThe struct member offsets. -
DEPENDENCYCOUNT
public static final int DEPENDENCYCOUNTThe struct member offsets. -
PDEPENDENCIES
public static final int PDEPENDENCIESThe struct member offsets. -
CORRELATEDVIEWMASKCOUNT
public static final int CORRELATEDVIEWMASKCOUNTThe struct member offsets. -
PCORRELATEDVIEWMASKS
public static final int PCORRELATEDVIEWMASKSThe struct member offsets.
-
-
Constructor Details
-
VkRenderPassCreateInfo2
Creates aVkRenderPassCreateInfo2instance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<VkRenderPassCreateInfo2>
-
sType
public int sType()aVkStructureTypevalue identifying this structure. -
pNext
public long pNext()NULLor a pointer to a structure extending this structure. -
flags
public int flags()reserved for future use. -
attachmentCount
public int attachmentCount()the number of attachments used by this render pass. -
pAttachments
a pointer to an array ofattachmentCountVkAttachmentDescription2structures describing the attachments used by the render pass. -
subpassCount
public int subpassCount()the number of subpasses to create. -
pSubpasses
a pointer to an array ofsubpassCountVkSubpassDescription2structures describing each subpass. -
dependencyCount
public int dependencyCount()the number of dependencies between pairs of subpasses. -
pDependencies
a pointer to an array ofdependencyCountVkSubpassDependency2structures describing dependencies between pairs of subpasses. -
sType
Sets the specified value to thesType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2value to thesType()field. -
pNext
Sets the specified value to thepNext()field. -
pNext
Prepends the specifiedVkRenderPassCreationControlEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkRenderPassCreationFeedbackCreateInfoEXTvalue to thepNextchain. -
pNext
Prepends the specifiedVkRenderPassFragmentDensityMapCreateInfoEXTvalue to thepNextchain. -
flags
Sets the specified value to theflags()field. -
pAttachments
Sets the address of the specifiedVkAttachmentDescription2.Bufferto thepAttachments()field. -
pSubpasses
Sets the address of the specifiedVkSubpassDescription2.Bufferto thepSubpasses()field. -
pDependencies
Sets the address of the specifiedVkSubpassDependency2.Bufferto thepDependencies()field. -
set
public VkRenderPassCreateInfo2 set(int sType, long pNext, int flags, @Nullable VkAttachmentDescription2.Buffer pAttachments, VkSubpassDescription2.Buffer pSubpasses, @Nullable VkSubpassDependency2.Buffer pDependencies, @Nullable IntBuffer pCorrelatedViewMasks) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkRenderPassCreateInfo2instance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkRenderPassCreateInfo2instance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkRenderPassCreateInfo2instance allocated withBufferUtils. -
create
Returns a newVkRenderPassCreateInfo2instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkRenderPassCreateInfo2.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkRenderPassCreateInfo2.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkRenderPassCreateInfo2.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkRenderPassCreateInfo2.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkRenderPassCreateInfo2instance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkRenderPassCreateInfo2instance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkRenderPassCreateInfo2.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkRenderPassCreateInfo2.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkRenderPassCreateInfo2.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkRenderPassCreateInfo2.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
nflags
public static int nflags(long struct) Unsafe version offlags(). -
nattachmentCount
public static int nattachmentCount(long struct) Unsafe version ofattachmentCount(). -
npAttachments
Unsafe version ofpAttachments(). -
nsubpassCount
public static int nsubpassCount(long struct) Unsafe version ofsubpassCount(). -
npSubpasses
Unsafe version ofpSubpasses(). -
ndependencyCount
public static int ndependencyCount(long struct) Unsafe version ofdependencyCount(). -
npDependencies
Unsafe version ofpDependencies(). -
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. -
nattachmentCount
public static void nattachmentCount(long struct, int value) Sets the specified value to theattachmentCountfield of the specifiedstruct. -
npAttachments
Unsafe version ofpAttachments. -
nsubpassCount
public static void nsubpassCount(long struct, int value) Sets the specified value to thesubpassCountfield of the specifiedstruct. -
npSubpasses
Unsafe version ofpSubpasses. -
ndependencyCount
public static void ndependencyCount(long struct, int value) Sets the specified value to thedependencyCountfield of the specifiedstruct. -
npDependencies
Unsafe version ofpDependencies. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-