Package org.lwjgl.vulkan
Class VkMemoryGetRemoteAddressInfoNV
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkMemoryGetRemoteAddressInfoNV
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkMemoryGetRemoteAddressInfoNV extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing a remote accessible address export operation.Valid Usage
handleTypemust have been included inVkExportMemoryAllocateInfo::handleTypeswhenmemorywas created
Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_MEMORY_GET_REMOTE_ADDRESS_INFO_NVpNextmust beNULLmemorymust be a validVkDeviceMemoryhandlehandleTypemust be a validVkExternalMemoryHandleTypeFlagBitsvalue
See Also
Layout
struct VkMemoryGetRemoteAddressInfoNV { VkStructureTypesType(); void const *pNext(); VkDeviceMemorymemory(); VkExternalMemoryHandleTypeFlagBitshandleType(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkMemoryGetRemoteAddressInfoNV.BufferAn array ofVkMemoryGetRemoteAddressInfoNVstructs.
-
Constructor Summary
Constructors Constructor Description VkMemoryGetRemoteAddressInfoNV(java.nio.ByteBuffer container)Creates aVkMemoryGetRemoteAddressInfoNVinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkMemoryGetRemoteAddressInfoNVcalloc()Returns a newVkMemoryGetRemoteAddressInfoNVinstance allocated withmemCalloc.static VkMemoryGetRemoteAddressInfoNV.Buffercalloc(int capacity)Returns a newVkMemoryGetRemoteAddressInfoNV.Bufferinstance allocated withmemCalloc.static VkMemoryGetRemoteAddressInfoNV.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkMemoryGetRemoteAddressInfoNV.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkMemoryGetRemoteAddressInfoNVcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkMemoryGetRemoteAddressInfoNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkMemoryGetRemoteAddressInfoNVcreate()Returns a newVkMemoryGetRemoteAddressInfoNVinstance allocated withBufferUtils.static VkMemoryGetRemoteAddressInfoNV.Buffercreate(int capacity)Returns a newVkMemoryGetRemoteAddressInfoNV.Bufferinstance allocated withBufferUtils.static VkMemoryGetRemoteAddressInfoNVcreate(long address)Returns a newVkMemoryGetRemoteAddressInfoNVinstance for the specified memory address.static VkMemoryGetRemoteAddressInfoNV.Buffercreate(long address, int capacity)Create aVkMemoryGetRemoteAddressInfoNV.Bufferinstance at the specified memory.static VkMemoryGetRemoteAddressInfoNVcreateSafe(long address)static VkMemoryGetRemoteAddressInfoNV.BuffercreateSafe(long address, int capacity)inthandleType()the type of handle requested.VkMemoryGetRemoteAddressInfoNVhandleType(int value)Sets the specified value to thehandleType()field.static VkMemoryGetRemoteAddressInfoNVmalloc()Returns a newVkMemoryGetRemoteAddressInfoNVinstance allocated withmemAlloc.static VkMemoryGetRemoteAddressInfoNV.Buffermalloc(int capacity)Returns a newVkMemoryGetRemoteAddressInfoNV.Bufferinstance allocated withmemAlloc.static VkMemoryGetRemoteAddressInfoNV.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkMemoryGetRemoteAddressInfoNV.Bufferinstance allocated on the specifiedMemoryStack.static VkMemoryGetRemoteAddressInfoNVmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkMemoryGetRemoteAddressInfoNVinstance allocated on the specifiedMemoryStack.longmemory()the memory object from which the remote accessible address will be exported.VkMemoryGetRemoteAddressInfoNVmemory(long value)Sets the specified value to thememory()field.static intnhandleType(long struct)Unsafe version ofhandleType().static voidnhandleType(long struct, int value)Unsafe version ofhandleType.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.VkMemoryGetRemoteAddressInfoNVpNext(long value)Sets the specified value to thepNext()field.VkMemoryGetRemoteAddressInfoNVset(int sType, long pNext, long memory, int handleType)Initializes this struct with the specified values.VkMemoryGetRemoteAddressInfoNVset(VkMemoryGetRemoteAddressInfoNV src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkMemoryGetRemoteAddressInfoNVsType(int value)Sets the specified value to thesType()field.VkMemoryGetRemoteAddressInfoNVsType$Default()Sets theSTRUCTURE_TYPE_MEMORY_GET_REMOTE_ADDRESS_INFO_NVvalue to thesType()field.
-
-
-
Constructor Detail
-
VkMemoryGetRemoteAddressInfoNV
public VkMemoryGetRemoteAddressInfoNV(java.nio.ByteBuffer container)
Creates aVkMemoryGetRemoteAddressInfoNVinstance 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()
the memory object from which the remote accessible address will be exported.
-
handleType
public int handleType()
the type of handle requested.
-
sType
public VkMemoryGetRemoteAddressInfoNV sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkMemoryGetRemoteAddressInfoNV sType$Default()
Sets theSTRUCTURE_TYPE_MEMORY_GET_REMOTE_ADDRESS_INFO_NVvalue to thesType()field.
-
pNext
public VkMemoryGetRemoteAddressInfoNV pNext(long value)
Sets the specified value to thepNext()field.
-
memory
public VkMemoryGetRemoteAddressInfoNV memory(long value)
Sets the specified value to thememory()field.
-
handleType
public VkMemoryGetRemoteAddressInfoNV handleType(int value)
Sets the specified value to thehandleType()field.
-
set
public VkMemoryGetRemoteAddressInfoNV set(int sType, long pNext, long memory, int handleType)
Initializes this struct with the specified values.
-
set
public VkMemoryGetRemoteAddressInfoNV set(VkMemoryGetRemoteAddressInfoNV src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkMemoryGetRemoteAddressInfoNV malloc()
Returns a newVkMemoryGetRemoteAddressInfoNVinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkMemoryGetRemoteAddressInfoNV calloc()
Returns a newVkMemoryGetRemoteAddressInfoNVinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkMemoryGetRemoteAddressInfoNV create()
Returns a newVkMemoryGetRemoteAddressInfoNVinstance allocated withBufferUtils.
-
create
public static VkMemoryGetRemoteAddressInfoNV create(long address)
Returns a newVkMemoryGetRemoteAddressInfoNVinstance for the specified memory address.
-
createSafe
@Nullable public static VkMemoryGetRemoteAddressInfoNV createSafe(long address)
-
malloc
public static VkMemoryGetRemoteAddressInfoNV.Buffer malloc(int capacity)
Returns a newVkMemoryGetRemoteAddressInfoNV.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkMemoryGetRemoteAddressInfoNV.Buffer calloc(int capacity)
Returns a newVkMemoryGetRemoteAddressInfoNV.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkMemoryGetRemoteAddressInfoNV.Buffer create(int capacity)
Returns a newVkMemoryGetRemoteAddressInfoNV.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkMemoryGetRemoteAddressInfoNV.Buffer create(long address, int capacity)
Create aVkMemoryGetRemoteAddressInfoNV.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkMemoryGetRemoteAddressInfoNV.Buffer createSafe(long address, int capacity)
-
malloc
public static VkMemoryGetRemoteAddressInfoNV malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkMemoryGetRemoteAddressInfoNVinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkMemoryGetRemoteAddressInfoNV calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkMemoryGetRemoteAddressInfoNVinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkMemoryGetRemoteAddressInfoNV.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkMemoryGetRemoteAddressInfoNV.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkMemoryGetRemoteAddressInfoNV.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkMemoryGetRemoteAddressInfoNV.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().
-
nhandleType
public static int nhandleType(long struct)
Unsafe version ofhandleType().
-
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.
-
nhandleType
public static void nhandleType(long struct, int value)Unsafe version ofhandleType.
-
-