Package org.lwjgl.vulkan
Class VkMemoryOpaqueCaptureAddressAllocateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfo
-
- org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkMemoryOpaqueCaptureAddressAllocateInfoKHR extends VkMemoryOpaqueCaptureAddressAllocateInfo
SeeVkMemoryOpaqueCaptureAddressAllocateInfo.Layout
struct VkMemoryOpaqueCaptureAddressAllocateInfoKHR { VkStructureType sType; void const * pNext; uint64_t opaqueCaptureAddress; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkMemoryOpaqueCaptureAddressAllocateInfoKHR.BufferAn array ofVkMemoryOpaqueCaptureAddressAllocateInfoKHRstructs.
-
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.VkMemoryOpaqueCaptureAddressAllocateInfo
ALIGNOF, OPAQUECAPTUREADDRESS, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkMemoryOpaqueCaptureAddressAllocateInfoKHR(java.nio.ByteBuffer container)Creates aVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkMemoryOpaqueCaptureAddressAllocateInfoKHRcalloc()Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance allocated withmemCalloc.static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffercalloc(int capacity)Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance allocated withmemCalloc.static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkMemoryOpaqueCaptureAddressAllocateInfoKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkMemoryOpaqueCaptureAddressAllocateInfoKHRcreate()Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance allocated withBufferUtils.static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffercreate(int capacity)Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance allocated withBufferUtils.static VkMemoryOpaqueCaptureAddressAllocateInfoKHRcreate(long address)Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance for the specified memory address.static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffercreate(long address, int capacity)Create aVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance at the specified memory.static VkMemoryOpaqueCaptureAddressAllocateInfoKHRcreateSafe(long address)static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.BuffercreateSafe(long address, int capacity)static VkMemoryOpaqueCaptureAddressAllocateInfoKHRmalloc()Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance allocated withmemAlloc.static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffermalloc(int capacity)Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance allocated withmemAlloc.static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkMemoryOpaqueCaptureAddressAllocateInfoKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance allocated on the specifiedMemoryStack.VkMemoryOpaqueCaptureAddressAllocateInfoKHRopaqueCaptureAddress(long value)Sets the specified value to theopaqueCaptureAddressfield.VkMemoryOpaqueCaptureAddressAllocateInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkMemoryOpaqueCaptureAddressAllocateInfoKHRset(int sType, long pNext, long opaqueCaptureAddress)Initializes this struct with the specified values.VkMemoryOpaqueCaptureAddressAllocateInfoKHRset(VkMemoryOpaqueCaptureAddressAllocateInfoKHR src)Copies the specified struct data to this struct.VkMemoryOpaqueCaptureAddressAllocateInfoKHRsType(int value)Sets the specified value to thesTypefield.VkMemoryOpaqueCaptureAddressAllocateInfoKHRsType$Default()Sets theSTRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFOvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkMemoryOpaqueCaptureAddressAllocateInfo
nopaqueCaptureAddress, nopaqueCaptureAddress, npNext, npNext, nsType, nsType, opaqueCaptureAddress, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkMemoryOpaqueCaptureAddressAllocateInfoKHR
public VkMemoryOpaqueCaptureAddressAllocateInfoKHR(java.nio.ByteBuffer container)
Creates aVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance 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 VkMemoryOpaqueCaptureAddressAllocateInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkMemoryOpaqueCaptureAddressAllocateInfo
-
sType$Default
public VkMemoryOpaqueCaptureAddressAllocateInfoKHR sType$Default()
Sets theSTRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkMemoryOpaqueCaptureAddressAllocateInfo
-
pNext
public VkMemoryOpaqueCaptureAddressAllocateInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkMemoryOpaqueCaptureAddressAllocateInfo
-
opaqueCaptureAddress
public VkMemoryOpaqueCaptureAddressAllocateInfoKHR opaqueCaptureAddress(long value)
Sets the specified value to theopaqueCaptureAddressfield.- Overrides:
opaqueCaptureAddressin classVkMemoryOpaqueCaptureAddressAllocateInfo
-
set
public VkMemoryOpaqueCaptureAddressAllocateInfoKHR set(int sType, long pNext, long opaqueCaptureAddress)
Initializes this struct with the specified values.- Overrides:
setin classVkMemoryOpaqueCaptureAddressAllocateInfo
-
set
public VkMemoryOpaqueCaptureAddressAllocateInfoKHR set(VkMemoryOpaqueCaptureAddressAllocateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR malloc()
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR calloc()
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR create()
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance allocated withBufferUtils.
-
create
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR create(long address)
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR createSafe(long address)
-
malloc
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer malloc(int capacity)
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer calloc(int capacity)
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer create(int capacity)
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer create(long address, int capacity)
Create aVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkMemoryOpaqueCaptureAddressAllocateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-