Class VkDependencyInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDependencyInfo>
org.lwjgl.vulkan.VkDependencyInfo
org.lwjgl.vulkan.VkDependencyInfoKHR
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
struct VkDependencyInfoKHR {
VkStructureType sType;
void const * pNext;
VkDependencyFlags dependencyFlags;
uint32_t memoryBarrierCount;
VkMemoryBarrier2 const * pMemoryBarriers;
uint32_t bufferMemoryBarrierCount;
VkBufferMemoryBarrier2 const * pBufferMemoryBarriers;
uint32_t imageMemoryBarrierCount;
VkImageMemoryBarrier2 const * pImageMemoryBarriers;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from class VkDependencyInfo
ALIGNOF, BUFFERMEMORYBARRIERCOUNT, DEPENDENCYFLAGS, IMAGEMEMORYBARRIERCOUNT, MEMORYBARRIERCOUNT, PBUFFERMEMORYBARRIERS, PIMAGEMEMORYBARRIERS, PMEMORYBARRIERS, PNEXT, SIZEOF, STYPEFields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkDependencyInfoKHR(ByteBuffer container) Creates aVkDependencyInfoKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkDependencyInfoKHRcalloc()Returns a newVkDependencyInfoKHRinstance allocated withmemCalloc.static VkDependencyInfoKHR.Buffercalloc(int capacity) Returns a newVkDependencyInfoKHR.Bufferinstance allocated withmemCalloc.static VkDependencyInfoKHR.Buffercalloc(int capacity, MemoryStack stack) Returns a newVkDependencyInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDependencyInfoKHRcalloc(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 @Nullable VkDependencyInfoKHRcreateSafe(long address) static @Nullable VkDependencyInfoKHR.BuffercreateSafe(long address, int capacity) dependencyFlags(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, MemoryStack stack) Returns a newVkDependencyInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkDependencyInfoKHRmalloc(MemoryStack stack) Returns a newVkDependencyInfoKHRinstance allocated on the specifiedMemoryStack.pBufferMemoryBarriers(@Nullable VkBufferMemoryBarrier2.Buffer value) Sets the address of the specifiedVkBufferMemoryBarrier2.Bufferto thepBufferMemoryBarriersfield.pImageMemoryBarriers(@Nullable VkImageMemoryBarrier2.Buffer value) Sets the address of the specifiedVkImageMemoryBarrier2.Bufferto thepImageMemoryBarriersfield.pMemoryBarriers(@Nullable VkMemoryBarrier2.Buffer value) Sets the address of the specifiedVkMemoryBarrier2.Bufferto thepMemoryBarriersfield.pNext(long value) Sets the specified value to thepNextfield.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.set(VkDependencyInfoKHR src) Copies the specified struct data to this struct.sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_DEPENDENCY_INFOvalue to thesTypefield.Methods inherited from class 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, pNext, pNext, set, sizeof, sType, validateMethods inherited from class Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface NativeResource
close, free
-
Constructor Details
-
VkDependencyInfoKHR
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 Details
-
sType
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDependencyInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_DEPENDENCY_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkDependencyInfo
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDependencyInfo
-
dependencyFlags
Sets the specified value to thedependencyFlagsfield.- Overrides:
dependencyFlagsin classVkDependencyInfo
-
pMemoryBarriers
public VkDependencyInfoKHR pMemoryBarriers(@NativeType("VkMemoryBarrier2 const *") @Nullable VkMemoryBarrier2.Buffer value) Sets the address of the specifiedVkMemoryBarrier2.Bufferto thepMemoryBarriersfield.- Overrides:
pMemoryBarriersin classVkDependencyInfo
-
pBufferMemoryBarriers
public VkDependencyInfoKHR pBufferMemoryBarriers(@NativeType("VkBufferMemoryBarrier2 const *") @Nullable VkBufferMemoryBarrier2.Buffer value) Sets the address of the specifiedVkBufferMemoryBarrier2.Bufferto thepBufferMemoryBarriersfield.- Overrides:
pBufferMemoryBarriersin classVkDependencyInfo
-
pImageMemoryBarriers
public VkDependencyInfoKHR pImageMemoryBarriers(@NativeType("VkImageMemoryBarrier2 const *") @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
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkDependencyInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkDependencyInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkDependencyInfoKHRinstance allocated withBufferUtils. -
create
Returns a newVkDependencyInfoKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkDependencyInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkDependencyInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkDependencyInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkDependencyInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkDependencyInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkDependencyInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkDependencyInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkDependencyInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-