public class VkMemoryWin32HandlePropertiesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHRpNext must be NULLGetMemoryWin32HandlePropertiesKHR
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 windows handle can be imported as.
struct VkMemoryWin32HandlePropertiesKHR {
VkStructureType sType;
void * pNext;
uint32_t memoryTypeBits;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkMemoryWin32HandlePropertiesKHR.Buffer
An array of
VkMemoryWin32HandlePropertiesKHR 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 |
|---|
VkMemoryWin32HandlePropertiesKHR(java.nio.ByteBuffer container)
Creates a
VkMemoryWin32HandlePropertiesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkMemoryWin32HandlePropertiesKHR |
calloc()
Returns a new
VkMemoryWin32HandlePropertiesKHR instance allocated with memCalloc. |
static VkMemoryWin32HandlePropertiesKHR.Buffer |
calloc(int capacity)
Returns a new
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated with memCalloc. |
static VkMemoryWin32HandlePropertiesKHR |
callocStack()
Returns a new
VkMemoryWin32HandlePropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkMemoryWin32HandlePropertiesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkMemoryWin32HandlePropertiesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkMemoryWin32HandlePropertiesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryWin32HandlePropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkMemoryWin32HandlePropertiesKHR |
create()
Returns a new
VkMemoryWin32HandlePropertiesKHR instance allocated with BufferUtils. |
static VkMemoryWin32HandlePropertiesKHR.Buffer |
create(int capacity)
Returns a new
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated with BufferUtils. |
static VkMemoryWin32HandlePropertiesKHR |
create(long address)
Returns a new
VkMemoryWin32HandlePropertiesKHR instance for the specified memory address. |
static VkMemoryWin32HandlePropertiesKHR.Buffer |
create(long address,
int capacity)
Create a
VkMemoryWin32HandlePropertiesKHR.Buffer instance at the specified memory. |
static VkMemoryWin32HandlePropertiesKHR |
createSafe(long address)
|
static VkMemoryWin32HandlePropertiesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkMemoryWin32HandlePropertiesKHR |
malloc()
Returns a new
VkMemoryWin32HandlePropertiesKHR instance allocated with memAlloc. |
static VkMemoryWin32HandlePropertiesKHR.Buffer |
malloc(int capacity)
Returns a new
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated with memAlloc. |
static VkMemoryWin32HandlePropertiesKHR |
mallocStack()
Returns a new
VkMemoryWin32HandlePropertiesKHR instance allocated on the thread-local MemoryStack. |
static VkMemoryWin32HandlePropertiesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkMemoryWin32HandlePropertiesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkMemoryWin32HandlePropertiesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkMemoryWin32HandlePropertiesKHR 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. |
VkMemoryWin32HandlePropertiesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkMemoryWin32HandlePropertiesKHR |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkMemoryWin32HandlePropertiesKHR |
set(VkMemoryWin32HandlePropertiesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkMemoryWin32HandlePropertiesKHR |
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 VkMemoryWin32HandlePropertiesKHR(java.nio.ByteBuffer container)
VkMemoryWin32HandlePropertiesKHR 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 VkMemoryWin32HandlePropertiesKHR sType(int value)
sType field.public VkMemoryWin32HandlePropertiesKHR pNext(long value)
pNext field.public VkMemoryWin32HandlePropertiesKHR set(int sType, long pNext)
public VkMemoryWin32HandlePropertiesKHR set(VkMemoryWin32HandlePropertiesKHR src)
src - the source structpublic static VkMemoryWin32HandlePropertiesKHR malloc()
VkMemoryWin32HandlePropertiesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkMemoryWin32HandlePropertiesKHR calloc()
VkMemoryWin32HandlePropertiesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkMemoryWin32HandlePropertiesKHR create()
VkMemoryWin32HandlePropertiesKHR instance allocated with BufferUtils.public static VkMemoryWin32HandlePropertiesKHR create(long address)
VkMemoryWin32HandlePropertiesKHR instance for the specified memory address.@Nullable public static VkMemoryWin32HandlePropertiesKHR createSafe(long address)
public static VkMemoryWin32HandlePropertiesKHR.Buffer malloc(int capacity)
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkMemoryWin32HandlePropertiesKHR.Buffer calloc(int capacity)
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkMemoryWin32HandlePropertiesKHR.Buffer create(int capacity)
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkMemoryWin32HandlePropertiesKHR.Buffer create(long address, int capacity)
VkMemoryWin32HandlePropertiesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkMemoryWin32HandlePropertiesKHR.Buffer createSafe(long address, int capacity)
public static VkMemoryWin32HandlePropertiesKHR mallocStack()
VkMemoryWin32HandlePropertiesKHR instance allocated on the thread-local MemoryStack.public static VkMemoryWin32HandlePropertiesKHR callocStack()
VkMemoryWin32HandlePropertiesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkMemoryWin32HandlePropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkMemoryWin32HandlePropertiesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkMemoryWin32HandlePropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkMemoryWin32HandlePropertiesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkMemoryWin32HandlePropertiesKHR.Buffer mallocStack(int capacity)
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkMemoryWin32HandlePropertiesKHR.Buffer callocStack(int capacity)
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkMemoryWin32HandlePropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkMemoryWin32HandlePropertiesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkMemoryWin32HandlePropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkMemoryWin32HandlePropertiesKHR.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.