Package org.lwjgl.vulkan
Class VkSubpassDependency
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct VkSubpassDependency {
uint32_t srcSubpass;
uint32_t dstSubpass;
VkPipelineStageFlags srcStageMask;
VkPipelineStageFlags dstStageMask;
VkAccessFlags srcAccessMask;
VkAccessFlags dstAccessMask;
VkDependencyFlags dependencyFlags;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkSubpassDependency
(ByteBuffer container) Creates aVkSubpassDependency
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSubpassDependency
calloc()
Returns a newVkSubpassDependency
instance allocated withmemCalloc
.static VkSubpassDependency.Buffer
calloc
(int capacity) Returns a newVkSubpassDependency.Buffer
instance allocated withmemCalloc
.static VkSubpassDependency.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newVkSubpassDependency.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkSubpassDependency
calloc
(MemoryStack stack) Returns a newVkSubpassDependency
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkSubpassDependency
Deprecated.static VkSubpassDependency.Buffer
callocStack
(int capacity) Deprecated.static VkSubpassDependency.Buffer
callocStack
(int capacity, MemoryStack stack) Deprecated.static VkSubpassDependency
callocStack
(MemoryStack stack) Deprecated.static VkSubpassDependency
create()
Returns a newVkSubpassDependency
instance allocated withBufferUtils
.static VkSubpassDependency.Buffer
create
(int capacity) Returns a newVkSubpassDependency.Buffer
instance allocated withBufferUtils
.static VkSubpassDependency
create
(long address) Returns a newVkSubpassDependency
instance for the specified memory address.static VkSubpassDependency.Buffer
create
(long address, int capacity) Create aVkSubpassDependency.Buffer
instance at the specified memory.static @Nullable VkSubpassDependency
createSafe
(long address) static @Nullable VkSubpassDependency.Buffer
createSafe
(long address, int capacity) int
dependencyFlags
(int value) Sets the specified value to thedependencyFlags
field.int
dstAccessMask
(int value) Sets the specified value to thedstAccessMask
field.int
dstStageMask
(int value) Sets the specified value to thedstStageMask
field.int
dstSubpass
(int value) Sets the specified value to thedstSubpass
field.static VkSubpassDependency
malloc()
Returns a newVkSubpassDependency
instance allocated withmemAlloc
.static VkSubpassDependency.Buffer
malloc
(int capacity) Returns a newVkSubpassDependency.Buffer
instance allocated withmemAlloc
.static VkSubpassDependency.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newVkSubpassDependency.Buffer
instance allocated on the specifiedMemoryStack
.static VkSubpassDependency
malloc
(MemoryStack stack) Returns a newVkSubpassDependency
instance allocated on the specifiedMemoryStack
.static VkSubpassDependency
Deprecated.static VkSubpassDependency.Buffer
mallocStack
(int capacity) Deprecated.static VkSubpassDependency.Buffer
mallocStack
(int capacity, MemoryStack stack) Deprecated.static VkSubpassDependency
mallocStack
(MemoryStack stack) Deprecated.static int
ndependencyFlags
(long struct) Unsafe version ofdependencyFlags()
.static void
ndependencyFlags
(long struct, int value) Unsafe version ofdependencyFlags
.static int
ndstAccessMask
(long struct) Unsafe version ofdstAccessMask()
.static void
ndstAccessMask
(long struct, int value) Unsafe version ofdstAccessMask
.static int
ndstStageMask
(long struct) Unsafe version ofdstStageMask()
.static void
ndstStageMask
(long struct, int value) Unsafe version ofdstStageMask
.static int
ndstSubpass
(long struct) Unsafe version ofdstSubpass()
.static void
ndstSubpass
(long struct, int value) Unsafe version ofdstSubpass
.static int
nsrcAccessMask
(long struct) Unsafe version ofsrcAccessMask()
.static void
nsrcAccessMask
(long struct, int value) Unsafe version ofsrcAccessMask
.static int
nsrcStageMask
(long struct) Unsafe version ofsrcStageMask()
.static void
nsrcStageMask
(long struct, int value) Unsafe version ofsrcStageMask
.static int
nsrcSubpass
(long struct) Unsafe version ofsrcSubpass()
.static void
nsrcSubpass
(long struct, int value) Unsafe version ofsrcSubpass
.set
(int srcSubpass, int dstSubpass, int srcStageMask, int dstStageMask, int srcAccessMask, int dstAccessMask, int dependencyFlags) Initializes this struct with the specified values.set
(VkSubpassDependency src) Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.int
srcAccessMask
(int value) Sets the specified value to thesrcAccessMask
field.int
srcStageMask
(int value) Sets the specified value to thesrcStageMask
field.int
srcSubpass
(int value) Sets the specified value to thesrcSubpass
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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. -
SRCSUBPASS
public static final int SRCSUBPASSThe struct member offsets. -
DSTSUBPASS
public static final int DSTSUBPASSThe struct member offsets. -
SRCSTAGEMASK
public static final int SRCSTAGEMASKThe struct member offsets. -
DSTSTAGEMASK
public static final int DSTSTAGEMASKThe struct member offsets. -
SRCACCESSMASK
public static final int SRCACCESSMASKThe struct member offsets. -
DSTACCESSMASK
public static final int DSTACCESSMASKThe struct member offsets. -
DEPENDENCYFLAGS
public static final int DEPENDENCYFLAGSThe struct member offsets.
-
-
Constructor Details
-
VkSubpassDependency
Creates aVkSubpassDependency
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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<VkSubpassDependency>
-
srcSubpass
public int srcSubpass()- Returns:
- the value of the
srcSubpass
field.
-
dstSubpass
public int dstSubpass()- Returns:
- the value of the
dstSubpass
field.
-
srcStageMask
public int srcStageMask()- Returns:
- the value of the
srcStageMask
field.
-
dstStageMask
public int dstStageMask()- Returns:
- the value of the
dstStageMask
field.
-
srcAccessMask
public int srcAccessMask()- Returns:
- the value of the
srcAccessMask
field.
-
dstAccessMask
public int dstAccessMask()- Returns:
- the value of the
dstAccessMask
field.
-
dependencyFlags
public int dependencyFlags()- Returns:
- the value of the
dependencyFlags
field.
-
srcSubpass
Sets the specified value to thesrcSubpass
field. -
dstSubpass
Sets the specified value to thedstSubpass
field. -
srcStageMask
Sets the specified value to thesrcStageMask
field. -
dstStageMask
Sets the specified value to thedstStageMask
field. -
srcAccessMask
Sets the specified value to thesrcAccessMask
field. -
dstAccessMask
Sets the specified value to thedstAccessMask
field. -
dependencyFlags
Sets the specified value to thedependencyFlags
field. -
set
public VkSubpassDependency set(int srcSubpass, int dstSubpass, int srcStageMask, int dstStageMask, int srcAccessMask, int dstAccessMask, int dependencyFlags) 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 newVkSubpassDependency
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkSubpassDependency
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkSubpassDependency
instance allocated withBufferUtils
. -
create
Returns a newVkSubpassDependency
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkSubpassDependency.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkSubpassDependency.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkSubpassDependency.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkSubpassDependency.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)
instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)
instead. -
malloc
Returns a newVkSubpassDependency
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkSubpassDependency
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkSubpassDependency.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkSubpassDependency.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nsrcSubpass
public static int nsrcSubpass(long struct) Unsafe version ofsrcSubpass()
. -
ndstSubpass
public static int ndstSubpass(long struct) Unsafe version ofdstSubpass()
. -
nsrcStageMask
public static int nsrcStageMask(long struct) Unsafe version ofsrcStageMask()
. -
ndstStageMask
public static int ndstStageMask(long struct) Unsafe version ofdstStageMask()
. -
nsrcAccessMask
public static int nsrcAccessMask(long struct) Unsafe version ofsrcAccessMask()
. -
ndstAccessMask
public static int ndstAccessMask(long struct) Unsafe version ofdstAccessMask()
. -
ndependencyFlags
public static int ndependencyFlags(long struct) Unsafe version ofdependencyFlags()
. -
nsrcSubpass
public static void nsrcSubpass(long struct, int value) Unsafe version ofsrcSubpass
. -
ndstSubpass
public static void ndstSubpass(long struct, int value) Unsafe version ofdstSubpass
. -
nsrcStageMask
public static void nsrcStageMask(long struct, int value) Unsafe version ofsrcStageMask
. -
ndstStageMask
public static void ndstStageMask(long struct, int value) Unsafe version ofdstStageMask
. -
nsrcAccessMask
public static void nsrcAccessMask(long struct, int value) Unsafe version ofsrcAccessMask
. -
ndstAccessMask
public static void ndstAccessMask(long struct, int value) Unsafe version ofdstAccessMask
. -
ndependencyFlags
public static void ndependencyFlags(long struct, int value) Unsafe version ofdependencyFlags
.
-