public class VkMemoryOpaqueCaptureAddressAllocateInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If opaqueCaptureAddress is zero, no specific address is requested.
If opaqueCaptureAddress is not zero, it should be an address retrieved from GetDeviceMemoryOpaqueCaptureAddressKHR on an identically created memory allocation on the same implementation.
In most cases, it is expected that a non-zero opaqueAddress is an address retrieved from GetDeviceMemoryOpaqueCaptureAddressKHR on an identically created memory allocation. If this is not the case, it likely that ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR errors will occur.
This is, however, not a strict requirement because trace capture/replay tools may need to adjust memory allocation parameters for imported memory.
If this structure is not present, it is as if opaqueCaptureAddress is zero.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.opaqueCaptureAddress – the opaque capture address requested for the memory allocation.
struct VkMemoryOpaqueCaptureAddressAllocateInfoKHR {
VkStructureType sType;
void const * pNext;
uint64_t opaqueCaptureAddress;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer
An array of
VkMemoryOpaqueCaptureAddressAllocateInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
OPAQUECAPTUREADDRESS
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 |
|---|
VkMemoryOpaqueCaptureAddressAllocateInfoKHR(java.nio.ByteBuffer container)
Creates a
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
calloc()
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated with memCalloc. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated with memCalloc. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
callocStack()
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
create()
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated with BufferUtils. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer |
create(int capacity)
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated with BufferUtils. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
create(long address)
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance for the specified memory address. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance at the specified memory. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
createSafe(long address)
|
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
malloc()
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated with memAlloc. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated with memAlloc. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
mallocStack()
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated on the thread-local MemoryStack. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated on the specified MemoryStack. |
static long |
nopaqueCaptureAddress(long struct)
Unsafe version of
opaqueCaptureAddress(). |
static void |
nopaqueCaptureAddress(long struct,
long value)
Unsafe version of
opaqueCaptureAddress. |
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 |
opaqueCaptureAddress()
Returns the value of the
opaqueCaptureAddress field. |
VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
opaqueCaptureAddress(long value)
Sets the specified value to the
opaqueCaptureAddress field. |
long |
pNext()
Returns the value of the
pNext field. |
VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
set(int sType,
long pNext,
long opaqueCaptureAddress)
Initializes this struct with the specified values.
|
VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
set(VkMemoryOpaqueCaptureAddressAllocateInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkMemoryOpaqueCaptureAddressAllocateInfoKHR |
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 OPAQUECAPTUREADDRESS
public VkMemoryOpaqueCaptureAddressAllocateInfoKHR(java.nio.ByteBuffer container)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR 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 opaqueCaptureAddress()
opaqueCaptureAddress field.public VkMemoryOpaqueCaptureAddressAllocateInfoKHR sType(int value)
sType field.public VkMemoryOpaqueCaptureAddressAllocateInfoKHR pNext(long value)
pNext field.public VkMemoryOpaqueCaptureAddressAllocateInfoKHR opaqueCaptureAddress(long value)
opaqueCaptureAddress field.public VkMemoryOpaqueCaptureAddressAllocateInfoKHR set(int sType, long pNext, long opaqueCaptureAddress)
public VkMemoryOpaqueCaptureAddressAllocateInfoKHR set(VkMemoryOpaqueCaptureAddressAllocateInfoKHR src)
src - the source structpublic static VkMemoryOpaqueCaptureAddressAllocateInfoKHR malloc()
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR calloc()
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR create()
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated with BufferUtils.public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR create(long address)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance for the specified memory address.@Nullable public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR createSafe(long address)
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer malloc(int capacity)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer calloc(int capacity)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer create(int capacity)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer create(long address, int capacity)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer createSafe(long address, int capacity)
public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR mallocStack()
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated on the thread-local MemoryStack.public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR callocStack()
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkMemoryOpaqueCaptureAddressAllocateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkMemoryOpaqueCaptureAddressAllocateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer mallocStack(int capacity)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer callocStack(int capacity)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkMemoryOpaqueCaptureAddressAllocateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkMemoryOpaqueCaptureAddressAllocateInfoKHR.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 nopaqueCaptureAddress(long struct)
opaqueCaptureAddress().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nopaqueCaptureAddress(long struct,
long value)
opaqueCaptureAddress.Copyright LWJGL. All Rights Reserved. License terms.