Package org.lwjgl.vulkan
Class VkSubpassDependency2KHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkSubpassDependency2
-
- org.lwjgl.vulkan.VkSubpassDependency2KHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkSubpassDependency2KHR extends VkSubpassDependency2
SeeVkSubpassDependency2.Layout
struct VkSubpassDependency2KHR { VkStructureType sType; void const * pNext; uint32_t srcSubpass; uint32_t dstSubpass; VkPipelineStageFlags srcStageMask; VkPipelineStageFlags dstStageMask; VkAccessFlags srcAccessMask; VkAccessFlags dstAccessMask; VkDependencyFlags dependencyFlags; int32_t viewOffset; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkSubpassDependency2KHR.BufferAn array ofVkSubpassDependency2KHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkSubpassDependency2
ALIGNOF, DEPENDENCYFLAGS, DSTACCESSMASK, DSTSTAGEMASK, DSTSUBPASS, PNEXT, SIZEOF, SRCACCESSMASK, SRCSTAGEMASK, SRCSUBPASS, STYPE, VIEWOFFSET
-
-
Constructor Summary
Constructors Constructor Description VkSubpassDependency2KHR(java.nio.ByteBuffer container)Creates aVkSubpassDependency2KHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkSubpassDependency2KHRcalloc()Returns a newVkSubpassDependency2KHRinstance allocated withmemCalloc.static VkSubpassDependency2KHR.Buffercalloc(int capacity)Returns a newVkSubpassDependency2KHR.Bufferinstance allocated withmemCalloc.static VkSubpassDependency2KHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassDependency2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassDependency2KHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassDependency2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkSubpassDependency2KHRcallocStack()Deprecated.static VkSubpassDependency2KHR.BuffercallocStack(int capacity)Deprecated.static VkSubpassDependency2KHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSubpassDependency2KHRcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkSubpassDependency2KHRcreate()Returns a newVkSubpassDependency2KHRinstance allocated withBufferUtils.static VkSubpassDependency2KHR.Buffercreate(int capacity)Returns a newVkSubpassDependency2KHR.Bufferinstance allocated withBufferUtils.static VkSubpassDependency2KHRcreate(long address)Returns a newVkSubpassDependency2KHRinstance for the specified memory address.static VkSubpassDependency2KHR.Buffercreate(long address, int capacity)Create aVkSubpassDependency2KHR.Bufferinstance at the specified memory.static VkSubpassDependency2KHRcreateSafe(long address)static VkSubpassDependency2KHR.BuffercreateSafe(long address, int capacity)VkSubpassDependency2KHRdependencyFlags(int value)Sets the specified value to thedependencyFlagsfield.VkSubpassDependency2KHRdstAccessMask(int value)Sets the specified value to thedstAccessMaskfield.VkSubpassDependency2KHRdstStageMask(int value)Sets the specified value to thedstStageMaskfield.VkSubpassDependency2KHRdstSubpass(int value)Sets the specified value to thedstSubpassfield.static VkSubpassDependency2KHRmalloc()Returns a newVkSubpassDependency2KHRinstance allocated withmemAlloc.static VkSubpassDependency2KHR.Buffermalloc(int capacity)Returns a newVkSubpassDependency2KHR.Bufferinstance allocated withmemAlloc.static VkSubpassDependency2KHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassDependency2KHR.Bufferinstance allocated on the specifiedMemoryStack.static VkSubpassDependency2KHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkSubpassDependency2KHRinstance allocated on the specifiedMemoryStack.static VkSubpassDependency2KHRmallocStack()Deprecated.static VkSubpassDependency2KHR.BuffermallocStack(int capacity)Deprecated.static VkSubpassDependency2KHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkSubpassDependency2KHRmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkSubpassDependency2KHRpNext(long value)Sets the specified value to thepNextfield.VkSubpassDependency2KHRset(int sType, long pNext, int srcSubpass, int dstSubpass, int srcStageMask, int dstStageMask, int srcAccessMask, int dstAccessMask, int dependencyFlags, int viewOffset)Initializes this struct with the specified values.VkSubpassDependency2KHRset(VkSubpassDependency2KHR src)Copies the specified struct data to this struct.VkSubpassDependency2KHRsrcAccessMask(int value)Sets the specified value to thesrcAccessMaskfield.VkSubpassDependency2KHRsrcStageMask(int value)Sets the specified value to thesrcStageMaskfield.VkSubpassDependency2KHRsrcSubpass(int value)Sets the specified value to thesrcSubpassfield.VkSubpassDependency2KHRsType(int value)Sets the specified value to thesTypefield.VkSubpassDependency2KHRsType$Default()Sets theSTRUCTURE_TYPE_SUBPASS_DEPENDENCY_2value to thesTypefield.VkSubpassDependency2KHRviewOffset(int value)Sets the specified value to theviewOffsetfield.-
Methods inherited from class org.lwjgl.vulkan.VkSubpassDependency2
dependencyFlags, dstAccessMask, dstStageMask, dstSubpass, ndependencyFlags, ndependencyFlags, ndstAccessMask, ndstAccessMask, ndstStageMask, ndstStageMask, ndstSubpass, ndstSubpass, npNext, npNext, nsrcAccessMask, nsrcAccessMask, nsrcStageMask, nsrcStageMask, nsrcSubpass, nsrcSubpass, nsType, nsType, nviewOffset, nviewOffset, pNext, pNext, pNext, set, sizeof, srcAccessMask, srcStageMask, srcSubpass, sType, viewOffset
-
-
-
-
Constructor Detail
-
VkSubpassDependency2KHR
public VkSubpassDependency2KHR(java.nio.ByteBuffer container)
Creates aVkSubpassDependency2KHRinstance 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
-
sType
public VkSubpassDependency2KHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkSubpassDependency2
-
sType$Default
public VkSubpassDependency2KHR sType$Default()
Sets theSTRUCTURE_TYPE_SUBPASS_DEPENDENCY_2value to thesTypefield.- Overrides:
sType$Defaultin classVkSubpassDependency2
-
pNext
public VkSubpassDependency2KHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkSubpassDependency2
-
srcSubpass
public VkSubpassDependency2KHR srcSubpass(int value)
Sets the specified value to thesrcSubpassfield.- Overrides:
srcSubpassin classVkSubpassDependency2
-
dstSubpass
public VkSubpassDependency2KHR dstSubpass(int value)
Sets the specified value to thedstSubpassfield.- Overrides:
dstSubpassin classVkSubpassDependency2
-
srcStageMask
public VkSubpassDependency2KHR srcStageMask(int value)
Sets the specified value to thesrcStageMaskfield.- Overrides:
srcStageMaskin classVkSubpassDependency2
-
dstStageMask
public VkSubpassDependency2KHR dstStageMask(int value)
Sets the specified value to thedstStageMaskfield.- Overrides:
dstStageMaskin classVkSubpassDependency2
-
srcAccessMask
public VkSubpassDependency2KHR srcAccessMask(int value)
Sets the specified value to thesrcAccessMaskfield.- Overrides:
srcAccessMaskin classVkSubpassDependency2
-
dstAccessMask
public VkSubpassDependency2KHR dstAccessMask(int value)
Sets the specified value to thedstAccessMaskfield.- Overrides:
dstAccessMaskin classVkSubpassDependency2
-
dependencyFlags
public VkSubpassDependency2KHR dependencyFlags(int value)
Sets the specified value to thedependencyFlagsfield.- Overrides:
dependencyFlagsin classVkSubpassDependency2
-
viewOffset
public VkSubpassDependency2KHR viewOffset(int value)
Sets the specified value to theviewOffsetfield.- Overrides:
viewOffsetin classVkSubpassDependency2
-
set
public VkSubpassDependency2KHR set(int sType, long pNext, int srcSubpass, int dstSubpass, int srcStageMask, int dstStageMask, int srcAccessMask, int dstAccessMask, int dependencyFlags, int viewOffset)
Initializes this struct with the specified values.- Overrides:
setin classVkSubpassDependency2
-
set
public VkSubpassDependency2KHR set(VkSubpassDependency2KHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkSubpassDependency2KHR malloc()
Returns a newVkSubpassDependency2KHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkSubpassDependency2KHR calloc()
Returns a newVkSubpassDependency2KHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkSubpassDependency2KHR create()
Returns a newVkSubpassDependency2KHRinstance allocated withBufferUtils.
-
create
public static VkSubpassDependency2KHR create(long address)
Returns a newVkSubpassDependency2KHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkSubpassDependency2KHR createSafe(long address)
-
malloc
public static VkSubpassDependency2KHR.Buffer malloc(int capacity)
Returns a newVkSubpassDependency2KHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkSubpassDependency2KHR.Buffer calloc(int capacity)
Returns a newVkSubpassDependency2KHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubpassDependency2KHR.Buffer create(int capacity)
Returns a newVkSubpassDependency2KHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkSubpassDependency2KHR.Buffer create(long address, int capacity)
Create aVkSubpassDependency2KHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkSubpassDependency2KHR.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkSubpassDependency2KHR mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassDependency2KHR callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubpassDependency2KHR mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassDependency2KHR callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubpassDependency2KHR.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassDependency2KHR.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkSubpassDependency2KHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkSubpassDependency2KHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkSubpassDependency2KHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassDependency2KHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkSubpassDependency2KHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassDependency2KHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkSubpassDependency2KHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassDependency2KHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkSubpassDependency2KHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkSubpassDependency2KHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-