Class VkRenderPassCreateInfo2KHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkRenderPassCreateInfo2KHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkRenderPassCreateInfo2KHR extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying parameters of a newly created render pass.Description
Parameters defined by this structure with the same name as those in
VkRenderPassCreateInfohave the identical effect to those parameters; the child structures are variants of those used inVkRenderPassCreateInfowhich includesTypeandpNextparameters, allowing them to be extended.If the
VkSubpassDescription2KHR::viewMaskmember of any element ofpSubpassesis not zero, multiview functionality is considered to be enabled for this render pass.correlatedViewMaskCountandpCorrelatedViewMaskshave the same effect asVkRenderPassMultiviewCreateInfo::correlationMaskCountandVkRenderPassMultiviewCreateInfo::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 given element ofpSubpassesis bound to a range of aVkDeviceMemoryobject that overlaps with any other attachment in any subpass (including the same subpass), theVkAttachmentDescription2KHRstructures describing them must includeATTACHMENT_DESCRIPTION_MAY_ALIAS_BITinflags - If the
attachmentmember of any element ofpInputAttachments,pColorAttachments,pResolveAttachmentsorpDepthStencilAttachment, or any element ofpPreserveAttachmentsin any given element ofpSubpassesis notATTACHMENT_UNUSED, it must 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
VkSubpassDescription2KHR::viewMaskmember of all elements ofpSubpassesis 0,correlatedViewMaskCountmust be 0 - The
VkSubpassDescription2KHR::viewMaskmember of all elements ofpSubpassesmust either all be 0, or all not be 0 - If the
VkSubpassDescription2KHR::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 - The
viewMaskmember must not have a bit set at an index greater than or equal toVkPhysicalDeviceLimits::maxFramebufferLayers - 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
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHRpNextmust beNULL- If
attachmentCountis not 0,pAttachmentsmust be a valid pointer to an array ofattachmentCountvalidVkAttachmentDescription2KHRstructures pSubpassesmust be a valid pointer to an array ofsubpassCountvalidVkSubpassDescription2KHRstructures- If
dependencyCountis not 0,pDependenciesmust be a valid pointer to an array ofdependencyCountvalidVkSubpassDependency2KHRstructures - If
correlatedViewMaskCountis not 0,pCorrelatedViewMasksmust be a valid pointer to an array ofcorrelatedViewMaskCountuint32_tvalues subpassCountmust be greater than 0
See Also
VkAttachmentDescription2KHR,VkSubpassDependency2KHR,VkSubpassDescription2KHR,CreateRenderPass2KHRMember documentation
sType– the type of this structure.pNext–NULLor a pointer to an extension-specific structure.flags– reserved for future use.attachmentCount– the number of attachments used by this render pass.pAttachments– points to an array ofattachmentCountVkAttachmentDescription2KHRstructures describing the attachments used by the render pass.subpassCount– the number of subpasses to create.pSubpasses– points to an array ofsubpassCountVkSubpassDescription2KHRstructures describing each subpass.dependencyCount– the number of dependencies between pairs of subpasses.pDependencies– points to an array ofdependencyCountVkSubpassDependency2KHRstructures describing dependencies between pairs of subpasses.correlatedViewMaskCount– the number of correlation masks.pCorrelatedViewMasks– an array of view masks indicating sets of views that may be more efficient to render concurrently.
Layout
struct VkRenderPassCreateInfo2KHR { VkStructureType sType; void const * pNext; VkRenderPassCreateFlags flags; uint32_t attachmentCount;VkAttachmentDescription2KHRconst * pAttachments; uint32_t subpassCount;VkSubpassDescription2KHRconst * pSubpasses; uint32_t dependencyCount;VkSubpassDependency2KHRconst * pDependencies; uint32_t correlatedViewMaskCount; uint32_t const * pCorrelatedViewMasks; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkRenderPassCreateInfo2KHR.BufferAn array ofVkRenderPassCreateInfo2KHRstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intATTACHMENTCOUNT
CORRELATEDVIEWMASKCOUNT
DEPENDENCYCOUNT
FLAGS
PATTACHMENTS
PCORRELATEDVIEWMASKS
PDEPENDENCIES
PNEXT
PSUBPASSESThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
SUBPASSCOUNTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkRenderPassCreateInfo2KHR(java.nio.ByteBuffer container)Creates aVkRenderPassCreateInfo2KHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intattachmentCount()Returns the value of theattachmentCountfield.static VkRenderPassCreateInfo2KHRcalloc()Returns a newVkRenderPassCreateInfo2KHRinstance allocated withmemCalloc.static VkRenderPassCreateInfo2KHR.Buffercalloc(int capacity)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withmemCalloc.static VkRenderPassCreateInfo2KHRcallocStack()Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkRenderPassCreateInfo2KHR.BuffercallocStack(int capacity)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkRenderPassCreateInfo2KHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkRenderPassCreateInfo2KHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intcorrelatedViewMaskCount()Returns the value of thecorrelatedViewMaskCountfield.static VkRenderPassCreateInfo2KHRcreate()Returns a newVkRenderPassCreateInfo2KHRinstance allocated withBufferUtils.static VkRenderPassCreateInfo2KHR.Buffercreate(int capacity)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withBufferUtils.static VkRenderPassCreateInfo2KHRcreate(long address)Returns a newVkRenderPassCreateInfo2KHRinstance for the specified memory address.static VkRenderPassCreateInfo2KHR.Buffercreate(long address, int capacity)Create aVkRenderPassCreateInfo2KHR.Bufferinstance at the specified memory.static VkRenderPassCreateInfo2KHRcreateSafe(long address)static VkRenderPassCreateInfo2KHR.BuffercreateSafe(long address, int capacity)intdependencyCount()Returns the value of thedependencyCountfield.intflags()Returns the value of theflagsfield.VkRenderPassCreateInfo2KHRflags(int value)Sets the specified value to theflagsfield.static VkRenderPassCreateInfo2KHRmalloc()Returns a newVkRenderPassCreateInfo2KHRinstance allocated withmemAlloc.static VkRenderPassCreateInfo2KHR.Buffermalloc(int capacity)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withmemAlloc.static VkRenderPassCreateInfo2KHRmallocStack()Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the thread-localMemoryStack.static VkRenderPassCreateInfo2KHR.BuffermallocStack(int capacity)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the thread-localMemoryStack.static VkRenderPassCreateInfo2KHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the specifiedMemoryStack.static VkRenderPassCreateInfo2KHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkRenderPassCreateInfo2KHRinstance 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 VkAttachmentDescription2KHR.BuffernpAttachments(long struct)Unsafe version ofpAttachments().static voidnpAttachments(long struct, VkAttachmentDescription2KHR.Buffer value)Unsafe version ofpAttachments.static java.nio.IntBuffernpCorrelatedViewMasks(long struct)Unsafe version ofpCorrelatedViewMasks.static voidnpCorrelatedViewMasks(long struct, java.nio.IntBuffer value)Unsafe version ofpCorrelatedViewMasks.static VkSubpassDependency2KHR.BuffernpDependencies(long struct)Unsafe version ofpDependencies().static voidnpDependencies(long struct, VkSubpassDependency2KHR.Buffer value)Unsafe version ofpDependencies.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static VkSubpassDescription2KHR.BuffernpSubpasses(long struct)Unsafe version ofpSubpasses().static voidnpSubpasses(long struct, VkSubpassDescription2KHR.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.VkAttachmentDescription2KHR.BufferpAttachments()Returns aVkAttachmentDescription2KHR.Bufferview of the struct array pointed to by thepAttachmentsfield.VkRenderPassCreateInfo2KHRpAttachments(VkAttachmentDescription2KHR.Buffer value)Sets the address of the specifiedVkAttachmentDescription2KHR.Bufferto thepAttachmentsfield.java.nio.IntBufferpCorrelatedViewMasks()Returns aIntBufferview of the data pointed to by thepCorrelatedViewMasksfield.VkRenderPassCreateInfo2KHRpCorrelatedViewMasks(java.nio.IntBuffer value)Sets the address of the specifiedIntBufferto thepCorrelatedViewMasksfield.VkSubpassDependency2KHR.BufferpDependencies()Returns aVkSubpassDependency2KHR.Bufferview of the struct array pointed to by thepDependenciesfield.VkRenderPassCreateInfo2KHRpDependencies(VkSubpassDependency2KHR.Buffer value)Sets the address of the specifiedVkSubpassDependency2KHR.Bufferto thepDependenciesfield.longpNext()Returns the value of thepNextfield.VkRenderPassCreateInfo2KHRpNext(long value)Sets the specified value to thepNextfield.VkSubpassDescription2KHR.BufferpSubpasses()Returns aVkSubpassDescription2KHR.Bufferview of the struct array pointed to by thepSubpassesfield.VkRenderPassCreateInfo2KHRpSubpasses(VkSubpassDescription2KHR.Buffer value)Sets the address of the specifiedVkSubpassDescription2KHR.Bufferto thepSubpassesfield.VkRenderPassCreateInfo2KHRset(int sType, long pNext, int flags, VkAttachmentDescription2KHR.Buffer pAttachments, VkSubpassDescription2KHR.Buffer pSubpasses, VkSubpassDependency2KHR.Buffer pDependencies, java.nio.IntBuffer pCorrelatedViewMasks)Initializes this struct with the specified values.VkRenderPassCreateInfo2KHRset(VkRenderPassCreateInfo2KHR src)Copies the specified struct data to this struct.intsizeof()intsType()Returns the value of thesTypefield.VkRenderPassCreateInfo2KHRsType(int value)Sets the specified value to thesTypefield.intsubpassCount()Returns the value of thesubpassCountfield.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.
-
-
-
Constructor Detail
-
VkRenderPassCreateInfo2KHR
public VkRenderPassCreateInfo2KHR(java.nio.ByteBuffer container)
Creates aVkRenderPassCreateInfo2KHRinstance 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.
-
attachmentCount
public int attachmentCount()
Returns the value of theattachmentCountfield.
-
pAttachments
@Nullable public VkAttachmentDescription2KHR.Buffer pAttachments()
Returns aVkAttachmentDescription2KHR.Bufferview of the struct array pointed to by thepAttachmentsfield.
-
subpassCount
public int subpassCount()
Returns the value of thesubpassCountfield.
-
pSubpasses
public VkSubpassDescription2KHR.Buffer pSubpasses()
Returns aVkSubpassDescription2KHR.Bufferview of the struct array pointed to by thepSubpassesfield.
-
dependencyCount
public int dependencyCount()
Returns the value of thedependencyCountfield.
-
pDependencies
@Nullable public VkSubpassDependency2KHR.Buffer pDependencies()
Returns aVkSubpassDependency2KHR.Bufferview of the struct array pointed to by thepDependenciesfield.
-
correlatedViewMaskCount
public int correlatedViewMaskCount()
Returns the value of thecorrelatedViewMaskCountfield.
-
pCorrelatedViewMasks
@Nullable public java.nio.IntBuffer pCorrelatedViewMasks()
Returns aIntBufferview of the data pointed to by thepCorrelatedViewMasksfield.
-
sType
public VkRenderPassCreateInfo2KHR sType(int value)
Sets the specified value to thesTypefield.
-
pNext
public VkRenderPassCreateInfo2KHR pNext(long value)
Sets the specified value to thepNextfield.
-
flags
public VkRenderPassCreateInfo2KHR flags(int value)
Sets the specified value to theflagsfield.
-
pAttachments
public VkRenderPassCreateInfo2KHR pAttachments(@Nullable VkAttachmentDescription2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentDescription2KHR.Bufferto thepAttachmentsfield.
-
pSubpasses
public VkRenderPassCreateInfo2KHR pSubpasses(VkSubpassDescription2KHR.Buffer value)
Sets the address of the specifiedVkSubpassDescription2KHR.Bufferto thepSubpassesfield.
-
pDependencies
public VkRenderPassCreateInfo2KHR pDependencies(@Nullable VkSubpassDependency2KHR.Buffer value)
Sets the address of the specifiedVkSubpassDependency2KHR.Bufferto thepDependenciesfield.
-
pCorrelatedViewMasks
public VkRenderPassCreateInfo2KHR pCorrelatedViewMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBufferto thepCorrelatedViewMasksfield.
-
set
public VkRenderPassCreateInfo2KHR set(int sType, long pNext, int flags, @Nullable VkAttachmentDescription2KHR.Buffer pAttachments, VkSubpassDescription2KHR.Buffer pSubpasses, @Nullable VkSubpassDependency2KHR.Buffer pDependencies, @Nullable java.nio.IntBuffer pCorrelatedViewMasks)
Initializes this struct with the specified values.
-
set
public VkRenderPassCreateInfo2KHR set(VkRenderPassCreateInfo2KHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkRenderPassCreateInfo2KHR malloc()
Returns a newVkRenderPassCreateInfo2KHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkRenderPassCreateInfo2KHR calloc()
Returns a newVkRenderPassCreateInfo2KHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkRenderPassCreateInfo2KHR create()
Returns a newVkRenderPassCreateInfo2KHRinstance allocated withBufferUtils.
-
create
public static VkRenderPassCreateInfo2KHR create(long address)
Returns a newVkRenderPassCreateInfo2KHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkRenderPassCreateInfo2KHR createSafe(long address)
-
malloc
public static VkRenderPassCreateInfo2KHR.Buffer malloc(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkRenderPassCreateInfo2KHR.Buffer calloc(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassCreateInfo2KHR.Buffer create(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkRenderPassCreateInfo2KHR.Buffer create(long address, int capacity)
Create aVkRenderPassCreateInfo2KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkRenderPassCreateInfo2KHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkRenderPassCreateInfo2KHR mallocStack()
Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkRenderPassCreateInfo2KHR callocStack()
Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkRenderPassCreateInfo2KHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkRenderPassCreateInfo2KHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkRenderPassCreateInfo2KHR.Buffer mallocStack(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkRenderPassCreateInfo2KHR.Buffer callocStack(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkRenderPassCreateInfo2KHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkRenderPassCreateInfo2KHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHR.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().
-
nattachmentCount
public static int nattachmentCount(long struct)
Unsafe version ofattachmentCount().
-
npAttachments
@Nullable public static VkAttachmentDescription2KHR.Buffer npAttachments(long struct)
Unsafe version ofpAttachments().
-
nsubpassCount
public static int nsubpassCount(long struct)
Unsafe version ofsubpassCount().
-
npSubpasses
public static VkSubpassDescription2KHR.Buffer npSubpasses(long struct)
Unsafe version ofpSubpasses().
-
ndependencyCount
public static int ndependencyCount(long struct)
Unsafe version ofdependencyCount().
-
npDependencies
@Nullable public static VkSubpassDependency2KHR.Buffer npDependencies(long struct)
Unsafe version ofpDependencies().
-
ncorrelatedViewMaskCount
public static int ncorrelatedViewMaskCount(long struct)
Unsafe version ofcorrelatedViewMaskCount().
-
npCorrelatedViewMasks
@Nullable public static java.nio.IntBuffer npCorrelatedViewMasks(long struct)
Unsafe version ofpCorrelatedViewMasks.
-
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
public static void npAttachments(long struct, @Nullable VkAttachmentDescription2KHR.Buffer value)Unsafe version ofpAttachments.
-
nsubpassCount
public static void nsubpassCount(long struct, int value)Sets the specified value to thesubpassCountfield of the specifiedstruct.
-
npSubpasses
public static void npSubpasses(long struct, VkSubpassDescription2KHR.Buffer value)Unsafe version ofpSubpasses.
-
ndependencyCount
public static void ndependencyCount(long struct, int value)Sets the specified value to thedependencyCountfield of the specifiedstruct.
-
npDependencies
public static void npDependencies(long struct, @Nullable VkSubpassDependency2KHR.Buffer value)Unsafe version ofpDependencies.
-
ncorrelatedViewMaskCount
public static void ncorrelatedViewMaskCount(long struct, int value)Sets the specified value to thecorrelatedViewMaskCountfield of the specifiedstruct.
-
npCorrelatedViewMasks
public static void npCorrelatedViewMasks(long struct, @Nullable java.nio.IntBuffer value)Unsafe version ofpCorrelatedViewMasks.
-
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
-
-