Package org.lwjgl.vulkan
Class VkDependencyInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDependencyInfo
-
- org.lwjgl.vulkan.VkDependencyInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDependencyInfoKHR extends VkDependencyInfo
SeeVkDependencyInfo.Layout
struct VkDependencyInfoKHR { VkStructureType sType; void const * pNext; VkDependencyFlags dependencyFlags; uint32_t memoryBarrierCount;VkMemoryBarrier2const * pMemoryBarriers; uint32_t bufferMemoryBarrierCount;VkBufferMemoryBarrier2const * pBufferMemoryBarriers; uint32_t imageMemoryBarrierCount;VkImageMemoryBarrier2const * pImageMemoryBarriers; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDependencyInfoKHR.BufferAn array ofVkDependencyInfoKHRstructs.
-
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.VkDependencyInfo
ALIGNOF, BUFFERMEMORYBARRIERCOUNT, DEPENDENCYFLAGS, IMAGEMEMORYBARRIERCOUNT, MEMORYBARRIERCOUNT, PBUFFERMEMORYBARRIERS, PIMAGEMEMORYBARRIERS, PMEMORYBARRIERS, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkDependencyInfoKHR(java.nio.ByteBuffer container)Creates aVkDependencyInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDependencyInfoKHRcalloc()Returns a newVkDependencyInfoKHRinstance allocated withmemCalloc.static VkDependencyInfoKHR.Buffercalloc(int capacity)Returns a newVkDependencyInfoKHR.Bufferinstance allocated withmemCalloc.static VkDependencyInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDependencyInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDependencyInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDependencyInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDependencyInfoKHRcreate()Returns a newVkDependencyInfoKHRinstance allocated withBufferUtils.static VkDependencyInfoKHR.Buffercreate(int capacity)Returns a newVkDependencyInfoKHR.Bufferinstance allocated withBufferUtils.static VkDependencyInfoKHRcreate(long address)Returns a newVkDependencyInfoKHRinstance for the specified memory address.static VkDependencyInfoKHR.Buffercreate(long address, int capacity)Create aVkDependencyInfoKHR.Bufferinstance at the specified memory.static VkDependencyInfoKHRcreateSafe(long address)static VkDependencyInfoKHR.BuffercreateSafe(long address, int capacity)VkDependencyInfoKHRdependencyFlags(int value)Sets the specified value to thedependencyFlagsfield.static VkDependencyInfoKHRmalloc()Returns a newVkDependencyInfoKHRinstance allocated withmemAlloc.static VkDependencyInfoKHR.Buffermalloc(int capacity)Returns a newVkDependencyInfoKHR.Bufferinstance allocated withmemAlloc.static VkDependencyInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDependencyInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkDependencyInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDependencyInfoKHRinstance allocated on the specifiedMemoryStack.VkDependencyInfoKHRpBufferMemoryBarriers(VkBufferMemoryBarrier2.Buffer value)Sets the address of the specifiedVkBufferMemoryBarrier2.Bufferto thepBufferMemoryBarriersfield.VkDependencyInfoKHRpImageMemoryBarriers(VkImageMemoryBarrier2.Buffer value)Sets the address of the specifiedVkImageMemoryBarrier2.Bufferto thepImageMemoryBarriersfield.VkDependencyInfoKHRpMemoryBarriers(VkMemoryBarrier2.Buffer value)Sets the address of the specifiedVkMemoryBarrier2.Bufferto thepMemoryBarriersfield.VkDependencyInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkDependencyInfoKHRset(int sType, long pNext, int dependencyFlags, VkMemoryBarrier2.Buffer pMemoryBarriers, VkBufferMemoryBarrier2.Buffer pBufferMemoryBarriers, VkImageMemoryBarrier2.Buffer pImageMemoryBarriers)Initializes this struct with the specified values.VkDependencyInfoKHRset(VkDependencyInfoKHR src)Copies the specified struct data to this struct.VkDependencyInfoKHRsType(int value)Sets the specified value to thesTypefield.VkDependencyInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_DEPENDENCY_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkDependencyInfo
bufferMemoryBarrierCount, dependencyFlags, imageMemoryBarrierCount, memoryBarrierCount, nbufferMemoryBarrierCount, nbufferMemoryBarrierCount, ndependencyFlags, ndependencyFlags, nimageMemoryBarrierCount, nimageMemoryBarrierCount, nmemoryBarrierCount, nmemoryBarrierCount, npBufferMemoryBarriers, npBufferMemoryBarriers, npImageMemoryBarriers, npImageMemoryBarriers, npMemoryBarriers, npMemoryBarriers, npNext, npNext, nsType, nsType, pBufferMemoryBarriers, pImageMemoryBarriers, pMemoryBarriers, pNext, set, sizeof, sType, validate
-
-
-
-
Constructor Detail
-
VkDependencyInfoKHR
public VkDependencyInfoKHR(java.nio.ByteBuffer container)
Creates aVkDependencyInfoKHRinstance 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 VkDependencyInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDependencyInfo
-
sType$Default
public VkDependencyInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_DEPENDENCY_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkDependencyInfo
-
pNext
public VkDependencyInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDependencyInfo
-
dependencyFlags
public VkDependencyInfoKHR dependencyFlags(int value)
Sets the specified value to thedependencyFlagsfield.- Overrides:
dependencyFlagsin classVkDependencyInfo
-
pMemoryBarriers
public VkDependencyInfoKHR pMemoryBarriers(@Nullable VkMemoryBarrier2.Buffer value)
Sets the address of the specifiedVkMemoryBarrier2.Bufferto thepMemoryBarriersfield.- Overrides:
pMemoryBarriersin classVkDependencyInfo
-
pBufferMemoryBarriers
public VkDependencyInfoKHR pBufferMemoryBarriers(@Nullable VkBufferMemoryBarrier2.Buffer value)
Sets the address of the specifiedVkBufferMemoryBarrier2.Bufferto thepBufferMemoryBarriersfield.- Overrides:
pBufferMemoryBarriersin classVkDependencyInfo
-
pImageMemoryBarriers
public VkDependencyInfoKHR pImageMemoryBarriers(@Nullable VkImageMemoryBarrier2.Buffer value)
Sets the address of the specifiedVkImageMemoryBarrier2.Bufferto thepImageMemoryBarriersfield.- Overrides:
pImageMemoryBarriersin classVkDependencyInfo
-
set
public VkDependencyInfoKHR set(int sType, long pNext, int dependencyFlags, @Nullable VkMemoryBarrier2.Buffer pMemoryBarriers, @Nullable VkBufferMemoryBarrier2.Buffer pBufferMemoryBarriers, @Nullable VkImageMemoryBarrier2.Buffer pImageMemoryBarriers)
Initializes this struct with the specified values.- Overrides:
setin classVkDependencyInfo
-
set
public VkDependencyInfoKHR set(VkDependencyInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDependencyInfoKHR malloc()
Returns a newVkDependencyInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDependencyInfoKHR calloc()
Returns a newVkDependencyInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDependencyInfoKHR create()
Returns a newVkDependencyInfoKHRinstance allocated withBufferUtils.
-
create
public static VkDependencyInfoKHR create(long address)
Returns a newVkDependencyInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkDependencyInfoKHR createSafe(long address)
-
malloc
public static VkDependencyInfoKHR.Buffer malloc(int capacity)
Returns a newVkDependencyInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDependencyInfoKHR.Buffer calloc(int capacity)
Returns a newVkDependencyInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDependencyInfoKHR.Buffer create(int capacity)
Returns a newVkDependencyInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDependencyInfoKHR.Buffer create(long address, int capacity)
Create aVkDependencyInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDependencyInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkDependencyInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDependencyInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDependencyInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDependencyInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDependencyInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDependencyInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDependencyInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDependencyInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-