public class VkDeviceMemoryOpaqueCaptureAddressInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
memory must have been allocated with MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT_KHRsType must be STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO_KHRpNext must be NULLmemory must be a valid VkDeviceMemory handleGetDeviceMemoryOpaqueCaptureAddressKHR
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.memory – specifies the memory whose address is being queried.
struct VkDeviceMemoryOpaqueCaptureAddressInfoKHR {
VkStructureType sType;
void const * pNext;
VkDeviceMemory memory;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer
An array of
VkDeviceMemoryOpaqueCaptureAddressInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MEMORY
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkDeviceMemoryOpaqueCaptureAddressInfoKHR(java.nio.ByteBuffer container)
Creates a
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
calloc()
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated with memCalloc. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated with memCalloc. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
callocStack()
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
create()
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated with BufferUtils. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer |
create(int capacity)
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated with BufferUtils. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
create(long address)
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance for the specified memory address. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance at the specified memory. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
createSafe(long address)
|
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
malloc()
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated with memAlloc. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated with memAlloc. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
mallocStack()
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated on the thread-local MemoryStack. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated on the specified MemoryStack. |
long |
memory()
Returns the value of the
memory field. |
VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
memory(long value)
Sets the specified value to the
memory field. |
static long |
nmemory(long struct)
Unsafe version of
memory(). |
static void |
nmemory(long struct,
long value)
Unsafe version of
memory. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
set(int sType,
long pNext,
long memory)
Initializes this struct with the specified values.
|
VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
set(VkDeviceMemoryOpaqueCaptureAddressInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkDeviceMemoryOpaqueCaptureAddressInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int MEMORY
public VkDeviceMemoryOpaqueCaptureAddressInfoKHR(java.nio.ByteBuffer container)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public long memory()
memory field.public VkDeviceMemoryOpaqueCaptureAddressInfoKHR sType(int value)
sType field.public VkDeviceMemoryOpaqueCaptureAddressInfoKHR pNext(long value)
pNext field.public VkDeviceMemoryOpaqueCaptureAddressInfoKHR memory(long value)
memory field.public VkDeviceMemoryOpaqueCaptureAddressInfoKHR set(int sType, long pNext, long memory)
public VkDeviceMemoryOpaqueCaptureAddressInfoKHR set(VkDeviceMemoryOpaqueCaptureAddressInfoKHR src)
src - the source structpublic static VkDeviceMemoryOpaqueCaptureAddressInfoKHR malloc()
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR calloc()
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR create()
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated with BufferUtils.public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR create(long address)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance for the specified memory address.@Nullable public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR createSafe(long address)
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer malloc(int capacity)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer calloc(int capacity)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer create(int capacity)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer create(long address, int capacity)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer createSafe(long address, int capacity)
public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR mallocStack()
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated on the thread-local MemoryStack.public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR callocStack()
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDeviceMemoryOpaqueCaptureAddressInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDeviceMemoryOpaqueCaptureAddressInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer mallocStack(int capacity)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer callocStack(int capacity)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDeviceMemoryOpaqueCaptureAddressInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static long nmemory(long struct)
memory().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nmemory(long struct,
long value)
memory.Copyright LWJGL. All Rights Reserved. License terms.