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.NativeResource
Structure specifying parameters of a newly created render pass.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 inVkRenderPassCreateInfo
which includesType
andpNext
parameters, allowing them to be extended.If the
VkSubpassDescription2KHR
::viewMask
member of any element ofpSubpasses
is not zero, multiview functionality is considered to be enabled for this render pass.correlatedViewMaskCount
andpCorrelatedViewMasks
have the same effect asVkRenderPassMultiviewCreateInfo
::correlationMaskCount
andVkRenderPassMultiviewCreateInfo
::pCorrelationMasks
, respectively.Valid Usage
- If any two subpasses operate on attachments with overlapping ranges of the same
VkDeviceMemory
object, 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
attachment
member of any element ofpInputAttachments
,pColorAttachments
,pResolveAttachments
orpDepthStencilAttachment
, or the attachment indexed by any element ofpPreserveAttachments
in any given element ofpSubpasses
is bound to a range of aVkDeviceMemory
object that overlaps with any other attachment in any subpass (including the same subpass), theVkAttachmentDescription2KHR
structures describing them must includeATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT
inflags
- If the
attachment
member of any element ofpInputAttachments
,pColorAttachments
,pResolveAttachments
orpDepthStencilAttachment
, or any element ofpPreserveAttachments
in any given element ofpSubpasses
is notATTACHMENT_UNUSED
, it must be less thanattachmentCount
- For any member of
pAttachments
with aloadOp
equal toATTACHMENT_LOAD_OP_CLEAR
, the first use of that attachment must not specify alayout
equal 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
pAttachments
with astencilLoadOp
equal toATTACHMENT_LOAD_OP_CLEAR
, the first use of that attachment must not specify alayout
equal 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 thesrcSubpass
is notSUBPASS_EXTERNAL
, all stage flags included in thesrcStageMask
member of that dependency must be a pipeline stage supported by the pipeline identified by thepipelineBindPoint
member of the source subpass - For any element of
pDependencies
, if thedstSubpass
is notSUBPASS_EXTERNAL
, all stage flags included in thedstStageMask
member of that dependency must be a pipeline stage supported by the pipeline identified by thepipelineBindPoint
member of the destination subpass - The set of bits included in any element of
pCorrelatedViewMasks
must not overlap with the set of bits included in any other element ofpCorrelatedViewMasks
- If the
VkSubpassDescription2KHR
::viewMask
member of all elements ofpSubpasses
is 0,correlatedViewMaskCount
must be 0 - The
VkSubpassDescription2KHR
::viewMask
member of all elements ofpSubpasses
must either all be 0, or all not be 0 - If the
VkSubpassDescription2KHR
::viewMask
member of all elements ofpSubpasses
is 0, thedependencyFlags
member of any element ofpDependencies
must not includeDEPENDENCY_VIEW_LOCAL_BIT
- For any element of
pDependencies
where itssrcSubpass
member equals itsdstSubpass
member, if theviewMask
member of the corresponding element ofpSubpasses
includes more than one bit, itsdependencyFlags
member must includeDEPENDENCY_VIEW_LOCAL_BIT
- The
viewMask
member must not have a bit set at an index greater than or equal toVkPhysicalDeviceLimits
::maxFramebufferLayers
- If the
attachment
member of any element of thepInputAttachments
member of any element ofpSubpasses
is notATTACHMENT_UNUSED
, theaspectMask
member of that element ofpInputAttachments
must only include aspects that are present in images of the format specified by the element ofpAttachments
specified byattachment
- The
srcSubpass
member of each element ofpDependencies
must be less thansubpassCount
- The
dstSubpass
member of each element ofpDependencies
must be less thansubpassCount
Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR
pNext
must beNULL
- If
attachmentCount
is not 0,pAttachments
must be a valid pointer to an array ofattachmentCount
validVkAttachmentDescription2KHR
structures pSubpasses
must be a valid pointer to an array ofsubpassCount
validVkSubpassDescription2KHR
structures- If
dependencyCount
is not 0,pDependencies
must be a valid pointer to an array ofdependencyCount
validVkSubpassDependency2KHR
structures - If
correlatedViewMaskCount
is not 0,pCorrelatedViewMasks
must be a valid pointer to an array ofcorrelatedViewMaskCount
uint32_t
values subpassCount
must be greater than 0
See Also
VkAttachmentDescription2KHR
,VkSubpassDependency2KHR
,VkSubpassDescription2KHR
,CreateRenderPass2KHR
Member documentation
sType
– the type of this structure.pNext
–NULL
or 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 ofattachmentCount
VkAttachmentDescription2KHR
structures describing the attachments used by the render pass.subpassCount
– the number of subpasses to create.pSubpasses
– points to an array ofsubpassCount
VkSubpassDescription2KHR
structures describing each subpass.dependencyCount
– the number of dependencies between pairs of subpasses.pDependencies
– points to an array ofdependencyCount
VkSubpassDependency2KHR
structures 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;
VkAttachmentDescription2KHR
const * pAttachments; uint32_t subpassCount;VkSubpassDescription2KHR
const * pSubpasses; uint32_t dependencyCount;VkSubpassDependency2KHR
const * pDependencies; uint32_t correlatedViewMaskCount; uint32_t const * pCorrelatedViewMasks; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkRenderPassCreateInfo2KHR.Buffer
An array ofVkRenderPassCreateInfo2KHR
structs.
-
Field Summary
Fields Modifier and Type Field Description static int
ALIGNOF
The struct alignment in bytes.static int
ATTACHMENTCOUNT
CORRELATEDVIEWMASKCOUNT
DEPENDENCYCOUNT
FLAGS
PATTACHMENTS
PCORRELATEDVIEWMASKS
PDEPENDENCIES
PNEXT
PSUBPASSESThe struct member offsets.static int
SIZEOF
The struct size in bytes.static int
STYPE
SUBPASSCOUNTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkRenderPassCreateInfo2KHR(java.nio.ByteBuffer container)
Creates aVkRenderPassCreateInfo2KHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
attachmentCount()
Returns the value of theattachmentCount
field.static VkRenderPassCreateInfo2KHR
calloc()
Returns a newVkRenderPassCreateInfo2KHR
instance allocated withmemCalloc
.static VkRenderPassCreateInfo2KHR.Buffer
calloc(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated withmemCalloc
.static VkRenderPassCreateInfo2KHR
callocStack()
Returns a newVkRenderPassCreateInfo2KHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkRenderPassCreateInfo2KHR.Buffer
callocStack(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkRenderPassCreateInfo2KHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkRenderPassCreateInfo2KHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.int
correlatedViewMaskCount()
Returns the value of thecorrelatedViewMaskCount
field.static VkRenderPassCreateInfo2KHR
create()
Returns a newVkRenderPassCreateInfo2KHR
instance allocated withBufferUtils
.static VkRenderPassCreateInfo2KHR.Buffer
create(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated withBufferUtils
.static VkRenderPassCreateInfo2KHR
create(long address)
Returns a newVkRenderPassCreateInfo2KHR
instance for the specified memory address.static VkRenderPassCreateInfo2KHR.Buffer
create(long address, int capacity)
Create aVkRenderPassCreateInfo2KHR.Buffer
instance at the specified memory.static VkRenderPassCreateInfo2KHR
createSafe(long address)
static VkRenderPassCreateInfo2KHR.Buffer
createSafe(long address, int capacity)
int
dependencyCount()
Returns the value of thedependencyCount
field.int
flags()
Returns the value of theflags
field.VkRenderPassCreateInfo2KHR
flags(int value)
Sets the specified value to theflags
field.static VkRenderPassCreateInfo2KHR
malloc()
Returns a newVkRenderPassCreateInfo2KHR
instance allocated withmemAlloc
.static VkRenderPassCreateInfo2KHR.Buffer
malloc(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated withmemAlloc
.static VkRenderPassCreateInfo2KHR
mallocStack()
Returns a newVkRenderPassCreateInfo2KHR
instance allocated on the thread-localMemoryStack
.static VkRenderPassCreateInfo2KHR.Buffer
mallocStack(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkRenderPassCreateInfo2KHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkRenderPassCreateInfo2KHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHR
instance allocated on the specifiedMemoryStack
.static int
nattachmentCount(long struct)
Unsafe version ofattachmentCount()
.static void
nattachmentCount(long struct, int value)
Sets the specified value to theattachmentCount
field of the specifiedstruct
.static int
ncorrelatedViewMaskCount(long struct)
Unsafe version ofcorrelatedViewMaskCount()
.static void
ncorrelatedViewMaskCount(long struct, int value)
Sets the specified value to thecorrelatedViewMaskCount
field of the specifiedstruct
.static int
ndependencyCount(long struct)
Unsafe version ofdependencyCount()
.static void
ndependencyCount(long struct, int value)
Sets the specified value to thedependencyCount
field of the specifiedstruct
.static int
nflags(long struct)
Unsafe version offlags()
.static void
nflags(long struct, int value)
Unsafe version offlags
.static VkAttachmentDescription2KHR.Buffer
npAttachments(long struct)
Unsafe version ofpAttachments()
.static void
npAttachments(long struct, VkAttachmentDescription2KHR.Buffer value)
Unsafe version ofpAttachments
.static java.nio.IntBuffer
npCorrelatedViewMasks(long struct)
Unsafe version ofpCorrelatedViewMasks
.static void
npCorrelatedViewMasks(long struct, java.nio.IntBuffer value)
Unsafe version ofpCorrelatedViewMasks
.static VkSubpassDependency2KHR.Buffer
npDependencies(long struct)
Unsafe version ofpDependencies()
.static void
npDependencies(long struct, VkSubpassDependency2KHR.Buffer value)
Unsafe version ofpDependencies
.static long
npNext(long struct)
Unsafe version ofpNext()
.static void
npNext(long struct, long value)
Unsafe version ofpNext
.static VkSubpassDescription2KHR.Buffer
npSubpasses(long struct)
Unsafe version ofpSubpasses()
.static void
npSubpasses(long struct, VkSubpassDescription2KHR.Buffer value)
Unsafe version ofpSubpasses
.static int
nsType(long struct)
Unsafe version ofsType()
.static void
nsType(long struct, int value)
Unsafe version ofsType
.static int
nsubpassCount(long struct)
Unsafe version ofsubpassCount()
.static void
nsubpassCount(long struct, int value)
Sets the specified value to thesubpassCount
field of the specifiedstruct
.VkAttachmentDescription2KHR.Buffer
pAttachments()
Returns aVkAttachmentDescription2KHR.Buffer
view of the struct array pointed to by thepAttachments
field.VkRenderPassCreateInfo2KHR
pAttachments(VkAttachmentDescription2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentDescription2KHR.Buffer
to thepAttachments
field.java.nio.IntBuffer
pCorrelatedViewMasks()
Returns aIntBuffer
view of the data pointed to by thepCorrelatedViewMasks
field.VkRenderPassCreateInfo2KHR
pCorrelatedViewMasks(java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepCorrelatedViewMasks
field.VkSubpassDependency2KHR.Buffer
pDependencies()
Returns aVkSubpassDependency2KHR.Buffer
view of the struct array pointed to by thepDependencies
field.VkRenderPassCreateInfo2KHR
pDependencies(VkSubpassDependency2KHR.Buffer value)
Sets the address of the specifiedVkSubpassDependency2KHR.Buffer
to thepDependencies
field.long
pNext()
Returns the value of thepNext
field.VkRenderPassCreateInfo2KHR
pNext(long value)
Sets the specified value to thepNext
field.VkSubpassDescription2KHR.Buffer
pSubpasses()
Returns aVkSubpassDescription2KHR.Buffer
view of the struct array pointed to by thepSubpasses
field.VkRenderPassCreateInfo2KHR
pSubpasses(VkSubpassDescription2KHR.Buffer value)
Sets the address of the specifiedVkSubpassDescription2KHR.Buffer
to thepSubpasses
field.VkRenderPassCreateInfo2KHR
set(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.VkRenderPassCreateInfo2KHR
set(VkRenderPassCreateInfo2KHR src)
Copies the specified struct data to this struct.int
sizeof()
int
sType()
Returns the value of thesType
field.VkRenderPassCreateInfo2KHR
sType(int value)
Sets the specified value to thesType
field.int
subpassCount()
Returns the value of thesubpassCount
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.
-
-
-
Constructor Detail
-
VkRenderPassCreateInfo2KHR
public VkRenderPassCreateInfo2KHR(java.nio.ByteBuffer container)
Creates aVkRenderPassCreateInfo2KHR
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.
-
attachmentCount
public int attachmentCount()
Returns the value of theattachmentCount
field.
-
pAttachments
@Nullable public VkAttachmentDescription2KHR.Buffer pAttachments()
Returns aVkAttachmentDescription2KHR.Buffer
view of the struct array pointed to by thepAttachments
field.
-
subpassCount
public int subpassCount()
Returns the value of thesubpassCount
field.
-
pSubpasses
public VkSubpassDescription2KHR.Buffer pSubpasses()
Returns aVkSubpassDescription2KHR.Buffer
view of the struct array pointed to by thepSubpasses
field.
-
dependencyCount
public int dependencyCount()
Returns the value of thedependencyCount
field.
-
pDependencies
@Nullable public VkSubpassDependency2KHR.Buffer pDependencies()
Returns aVkSubpassDependency2KHR.Buffer
view of the struct array pointed to by thepDependencies
field.
-
correlatedViewMaskCount
public int correlatedViewMaskCount()
Returns the value of thecorrelatedViewMaskCount
field.
-
pCorrelatedViewMasks
@Nullable public java.nio.IntBuffer pCorrelatedViewMasks()
Returns aIntBuffer
view of the data pointed to by thepCorrelatedViewMasks
field.
-
sType
public VkRenderPassCreateInfo2KHR sType(int value)
Sets the specified value to thesType
field.
-
pNext
public VkRenderPassCreateInfo2KHR pNext(long value)
Sets the specified value to thepNext
field.
-
flags
public VkRenderPassCreateInfo2KHR flags(int value)
Sets the specified value to theflags
field.
-
pAttachments
public VkRenderPassCreateInfo2KHR pAttachments(@Nullable VkAttachmentDescription2KHR.Buffer value)
Sets the address of the specifiedVkAttachmentDescription2KHR.Buffer
to thepAttachments
field.
-
pSubpasses
public VkRenderPassCreateInfo2KHR pSubpasses(VkSubpassDescription2KHR.Buffer value)
Sets the address of the specifiedVkSubpassDescription2KHR.Buffer
to thepSubpasses
field.
-
pDependencies
public VkRenderPassCreateInfo2KHR pDependencies(@Nullable VkSubpassDependency2KHR.Buffer value)
Sets the address of the specifiedVkSubpassDependency2KHR.Buffer
to thepDependencies
field.
-
pCorrelatedViewMasks
public VkRenderPassCreateInfo2KHR pCorrelatedViewMasks(@Nullable java.nio.IntBuffer value)
Sets the address of the specifiedIntBuffer
to thepCorrelatedViewMasks
field.
-
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 newVkRenderPassCreateInfo2KHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkRenderPassCreateInfo2KHR calloc()
Returns a newVkRenderPassCreateInfo2KHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkRenderPassCreateInfo2KHR create()
Returns a newVkRenderPassCreateInfo2KHR
instance allocated withBufferUtils
.
-
create
public static VkRenderPassCreateInfo2KHR create(long address)
Returns a newVkRenderPassCreateInfo2KHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkRenderPassCreateInfo2KHR createSafe(long address)
-
malloc
public static VkRenderPassCreateInfo2KHR.Buffer malloc(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkRenderPassCreateInfo2KHR.Buffer calloc(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkRenderPassCreateInfo2KHR.Buffer create(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkRenderPassCreateInfo2KHR.Buffer create(long address, int capacity)
Create aVkRenderPassCreateInfo2KHR.Buffer
instance 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 newVkRenderPassCreateInfo2KHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkRenderPassCreateInfo2KHR callocStack()
Returns a newVkRenderPassCreateInfo2KHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkRenderPassCreateInfo2KHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkRenderPassCreateInfo2KHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkRenderPassCreateInfo2KHR
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkRenderPassCreateInfo2KHR.Buffer callocStack(int capacity)
Returns a newVkRenderPassCreateInfo2KHR.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.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()
.
-
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 theattachmentCount
field 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 thesubpassCount
field 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 thedependencyCount
field 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 thecorrelatedViewMaskCount
field 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
-
-