public class VkMemoryHostPointerPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
The value returned by memoryTypeBits must only include bits that identify memory types which are host visible.
sType must be STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXTpNext must be NULLGetMemoryHostPointerPropertiesEXT
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.memoryTypeBits – a bitmask containing one bit set for every memory type which the specified host pointer can be imported as.
struct VkMemoryHostPointerPropertiesEXT {
VkStructureType sType;
void * pNext;
uint32_t memoryTypeBits;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkMemoryHostPointerPropertiesEXT.Buffer
An array of
VkMemoryHostPointerPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
MEMORYTYPEBITS
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 |
|---|
VkMemoryHostPointerPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkMemoryHostPointerPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkMemoryHostPointerPropertiesEXT |
calloc()
Returns a new
VkMemoryHostPointerPropertiesEXT instance allocated with memCalloc. |
static VkMemoryHostPointerPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkMemoryHostPointerPropertiesEXT |
callocStack()
Returns a new
VkMemoryHostPointerPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkMemoryHostPointerPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkMemoryHostPointerPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkMemoryHostPointerPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryHostPointerPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkMemoryHostPointerPropertiesEXT |
create()
Returns a new
VkMemoryHostPointerPropertiesEXT instance allocated with BufferUtils. |
static VkMemoryHostPointerPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkMemoryHostPointerPropertiesEXT |
create(long address)
Returns a new
VkMemoryHostPointerPropertiesEXT instance for the specified memory address. |
static VkMemoryHostPointerPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkMemoryHostPointerPropertiesEXT.Buffer instance at the specified memory. |
static VkMemoryHostPointerPropertiesEXT |
createSafe(long address)
|
static VkMemoryHostPointerPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkMemoryHostPointerPropertiesEXT |
malloc()
Returns a new
VkMemoryHostPointerPropertiesEXT instance allocated with memAlloc. |
static VkMemoryHostPointerPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkMemoryHostPointerPropertiesEXT |
mallocStack()
Returns a new
VkMemoryHostPointerPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkMemoryHostPointerPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkMemoryHostPointerPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkMemoryHostPointerPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryHostPointerPropertiesEXT instance allocated on the specified MemoryStack. |
int |
memoryTypeBits()
Returns the value of the
memoryTypeBits field. |
static int |
nmemoryTypeBits(long struct)
Unsafe version of
memoryTypeBits(). |
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. |
VkMemoryHostPointerPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkMemoryHostPointerPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkMemoryHostPointerPropertiesEXT |
set(VkMemoryHostPointerPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkMemoryHostPointerPropertiesEXT |
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 MEMORYTYPEBITS
public VkMemoryHostPointerPropertiesEXT(java.nio.ByteBuffer container)
VkMemoryHostPointerPropertiesEXT 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 int memoryTypeBits()
memoryTypeBits field.public VkMemoryHostPointerPropertiesEXT sType(int value)
sType field.public VkMemoryHostPointerPropertiesEXT pNext(long value)
pNext field.public VkMemoryHostPointerPropertiesEXT set(int sType, long pNext)
public VkMemoryHostPointerPropertiesEXT set(VkMemoryHostPointerPropertiesEXT src)
src - the source structpublic static VkMemoryHostPointerPropertiesEXT malloc()
VkMemoryHostPointerPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkMemoryHostPointerPropertiesEXT calloc()
VkMemoryHostPointerPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkMemoryHostPointerPropertiesEXT create()
VkMemoryHostPointerPropertiesEXT instance allocated with BufferUtils.public static VkMemoryHostPointerPropertiesEXT create(long address)
VkMemoryHostPointerPropertiesEXT instance for the specified memory address.@Nullable public static VkMemoryHostPointerPropertiesEXT createSafe(long address)
public static VkMemoryHostPointerPropertiesEXT.Buffer malloc(int capacity)
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkMemoryHostPointerPropertiesEXT.Buffer calloc(int capacity)
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkMemoryHostPointerPropertiesEXT.Buffer create(int capacity)
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkMemoryHostPointerPropertiesEXT.Buffer create(long address, int capacity)
VkMemoryHostPointerPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkMemoryHostPointerPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkMemoryHostPointerPropertiesEXT mallocStack()
VkMemoryHostPointerPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkMemoryHostPointerPropertiesEXT callocStack()
VkMemoryHostPointerPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkMemoryHostPointerPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkMemoryHostPointerPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkMemoryHostPointerPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkMemoryHostPointerPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkMemoryHostPointerPropertiesEXT.Buffer mallocStack(int capacity)
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkMemoryHostPointerPropertiesEXT.Buffer callocStack(int capacity)
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkMemoryHostPointerPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkMemoryHostPointerPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkMemoryHostPointerPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkMemoryHostPointerPropertiesEXT.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 int nmemoryTypeBits(long struct)
memoryTypeBits().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.