public class VkPhysicalDeviceExternalMemoryHostPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceExternalMemoryHostPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.minImportedHostPointerAlignment – the minimum required: alignment, in bytes, for the base address and size of host pointers that can be imported to a Vulkan memory object.
struct VkPhysicalDeviceExternalMemoryHostPropertiesEXT {
VkStructureType sType;
void * pNext;
VkDeviceSize minImportedHostPointerAlignment;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer
An array of
VkPhysicalDeviceExternalMemoryHostPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MINIMPORTEDHOSTPOINTERALIGNMENT
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 |
|---|
VkPhysicalDeviceExternalMemoryHostPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
calloc()
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
callocStack()
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
create()
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
create(long address)
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance for the specified memory address. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
createSafe(long address)
|
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
malloc()
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated on the specified MemoryStack. |
long |
minImportedHostPointerAlignment()
Returns the value of the
minImportedHostPointerAlignment field. |
static long |
nminImportedHostPointerAlignment(long struct)
Unsafe version of
minImportedHostPointerAlignment(). |
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. |
VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
set(VkPhysicalDeviceExternalMemoryHostPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceExternalMemoryHostPropertiesEXT |
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 MINIMPORTEDHOSTPOINTERALIGNMENT
public VkPhysicalDeviceExternalMemoryHostPropertiesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT 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 minImportedHostPointerAlignment()
minImportedHostPointerAlignment field.public VkPhysicalDeviceExternalMemoryHostPropertiesEXT sType(int value)
sType field.public VkPhysicalDeviceExternalMemoryHostPropertiesEXT pNext(long value)
pNext field.public VkPhysicalDeviceExternalMemoryHostPropertiesEXT set(int sType, long pNext)
public VkPhysicalDeviceExternalMemoryHostPropertiesEXT set(VkPhysicalDeviceExternalMemoryHostPropertiesEXT src)
src - the source structpublic static VkPhysicalDeviceExternalMemoryHostPropertiesEXT malloc()
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceExternalMemoryHostPropertiesEXT calloc()
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceExternalMemoryHostPropertiesEXT create()
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceExternalMemoryHostPropertiesEXT create(long address)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceExternalMemoryHostPropertiesEXT createSafe(long address)
public static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer create(int capacity)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceExternalMemoryHostPropertiesEXT mallocStack()
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceExternalMemoryHostPropertiesEXT callocStack()
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceExternalMemoryHostPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceExternalMemoryHostPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceExternalMemoryHostPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExternalMemoryHostPropertiesEXT.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 nminImportedHostPointerAlignment(long struct)
minImportedHostPointerAlignment().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.