Package org.lwjgl.vulkan
Class VkDeviceMemoryOpaqueCaptureAddressInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceMemoryOpaqueCaptureAddressInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Direct Known Subclasses:
VkDeviceMemoryOpaqueCaptureAddressInfoKHR
public class VkDeviceMemoryOpaqueCaptureAddressInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying the memory object to query an address for.Valid Usage
memorymust have been allocated withMEMORY_ALLOCATE_DEVICE_ADDRESS_BIT
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFOpNextmust beNULLmemorymust be a validVkDeviceMemoryhandle
See Also
GetDeviceMemoryOpaqueCaptureAddress,GetDeviceMemoryOpaqueCaptureAddressKHRLayout
struct VkDeviceMemoryOpaqueCaptureAddressInfo { VkStructureTypesType(); void const *pNext(); VkDeviceMemorymemory(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDeviceMemoryOpaqueCaptureAddressInfo.BufferAn array ofVkDeviceMemoryOpaqueCaptureAddressInfostructs.
-
Constructor Summary
Constructors Constructor Description VkDeviceMemoryOpaqueCaptureAddressInfo(java.nio.ByteBuffer container)Creates aVkDeviceMemoryOpaqueCaptureAddressInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceMemoryOpaqueCaptureAddressInfocalloc()Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance allocated withmemCalloc.static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffercalloc(int capacity)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance allocated withmemCalloc.static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceMemoryOpaqueCaptureAddressInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceMemoryOpaqueCaptureAddressInfocreate()Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance allocated withBufferUtils.static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffercreate(int capacity)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance allocated withBufferUtils.static VkDeviceMemoryOpaqueCaptureAddressInfocreate(long address)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance for the specified memory address.static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffercreate(long address, int capacity)Create aVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance at the specified memory.static VkDeviceMemoryOpaqueCaptureAddressInfocreateSafe(long address)static VkDeviceMemoryOpaqueCaptureAddressInfo.BuffercreateSafe(long address, int capacity)static VkDeviceMemoryOpaqueCaptureAddressInfomalloc()Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance allocated withmemAlloc.static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffermalloc(int capacity)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance allocated withmemAlloc.static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceMemoryOpaqueCaptureAddressInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance allocated on the specifiedMemoryStack.longmemory()specifies the memory whose address is being queried.VkDeviceMemoryOpaqueCaptureAddressInfomemory(long value)Sets the specified value to thememory()field.static longnmemory(long struct)Unsafe version ofmemory().static voidnmemory(long struct, long value)Unsafe version ofmemory.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkDeviceMemoryOpaqueCaptureAddressInfopNext(long value)Sets the specified value to thepNext()field.VkDeviceMemoryOpaqueCaptureAddressInfoset(int sType, long pNext, long memory)Initializes this struct with the specified values.VkDeviceMemoryOpaqueCaptureAddressInfoset(VkDeviceMemoryOpaqueCaptureAddressInfo src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkDeviceMemoryOpaqueCaptureAddressInfosType(int value)Sets the specified value to thesType()field.VkDeviceMemoryOpaqueCaptureAddressInfosType$Default()Sets theSTRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFOvalue to thesType()field.
-
-
-
Constructor Detail
-
VkDeviceMemoryOpaqueCaptureAddressInfo
public VkDeviceMemoryOpaqueCaptureAddressInfo(java.nio.ByteBuffer container)
Creates aVkDeviceMemoryOpaqueCaptureAddressInfoinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
memory
public long memory()
specifies the memory whose address is being queried.
-
sType
public VkDeviceMemoryOpaqueCaptureAddressInfo sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkDeviceMemoryOpaqueCaptureAddressInfo sType$Default()
Sets theSTRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFOvalue to thesType()field.
-
pNext
public VkDeviceMemoryOpaqueCaptureAddressInfo pNext(long value)
Sets the specified value to thepNext()field.
-
memory
public VkDeviceMemoryOpaqueCaptureAddressInfo memory(long value)
Sets the specified value to thememory()field.
-
set
public VkDeviceMemoryOpaqueCaptureAddressInfo set(int sType, long pNext, long memory)
Initializes this struct with the specified values.
-
set
public VkDeviceMemoryOpaqueCaptureAddressInfo set(VkDeviceMemoryOpaqueCaptureAddressInfo src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceMemoryOpaqueCaptureAddressInfo malloc()
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDeviceMemoryOpaqueCaptureAddressInfo calloc()
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDeviceMemoryOpaqueCaptureAddressInfo create()
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance allocated withBufferUtils.
-
create
public static VkDeviceMemoryOpaqueCaptureAddressInfo create(long address)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceMemoryOpaqueCaptureAddressInfo createSafe(long address)
-
malloc
public static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffer malloc(int capacity)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffer calloc(int capacity)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffer create(int capacity)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffer create(long address, int capacity)
Create aVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffer createSafe(long address, int capacity)
-
malloc
public static VkDeviceMemoryOpaqueCaptureAddressInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkDeviceMemoryOpaqueCaptureAddressInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkDeviceMemoryOpaqueCaptureAddressInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceMemoryOpaqueCaptureAddressInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nmemory
public static long nmemory(long struct)
Unsafe version ofmemory().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nmemory
public static void nmemory(long struct, long value)Unsafe version ofmemory.
-
-