public class VkExportMemoryAllocateInfoKHR extends VkExportMemoryAllocateInfo
VkExportMemoryAllocateInfo.
struct VkExportMemoryAllocateInfoKHR {
VkStructureType sType;
void const * pNext;
VkExternalMemoryHandleTypeFlags handleTypes;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkExportMemoryAllocateInfoKHR.Buffer
An array of
VkExportMemoryAllocateInfoKHR structs. |
ALIGNOF, HANDLETYPES, PNEXT, SIZEOF, STYPE| Constructor and Description |
|---|
VkExportMemoryAllocateInfoKHR(java.nio.ByteBuffer container)
Creates a
VkExportMemoryAllocateInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkExportMemoryAllocateInfoKHR |
calloc()
Returns a new
VkExportMemoryAllocateInfoKHR instance allocated with memCalloc. |
static VkExportMemoryAllocateInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkExportMemoryAllocateInfoKHR.Buffer instance allocated with memCalloc. |
static VkExportMemoryAllocateInfoKHR |
callocStack()
Returns a new
VkExportMemoryAllocateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExportMemoryAllocateInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkExportMemoryAllocateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExportMemoryAllocateInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExportMemoryAllocateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExportMemoryAllocateInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExportMemoryAllocateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExportMemoryAllocateInfoKHR |
create()
Returns a new
VkExportMemoryAllocateInfoKHR instance allocated with BufferUtils. |
static VkExportMemoryAllocateInfoKHR.Buffer |
create(int capacity)
Returns a new
VkExportMemoryAllocateInfoKHR.Buffer instance allocated with BufferUtils. |
static VkExportMemoryAllocateInfoKHR |
create(long address)
Returns a new
VkExportMemoryAllocateInfoKHR instance for the specified memory address. |
static VkExportMemoryAllocateInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkExportMemoryAllocateInfoKHR.Buffer instance at the specified memory. |
static VkExportMemoryAllocateInfoKHR |
createSafe(long address)
|
static VkExportMemoryAllocateInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
VkExportMemoryAllocateInfoKHR |
handleTypes(int value)
Sets the specified value to the
handleTypes field. |
static VkExportMemoryAllocateInfoKHR |
malloc()
Returns a new
VkExportMemoryAllocateInfoKHR instance allocated with memAlloc. |
static VkExportMemoryAllocateInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkExportMemoryAllocateInfoKHR.Buffer instance allocated with memAlloc. |
static VkExportMemoryAllocateInfoKHR |
mallocStack()
Returns a new
VkExportMemoryAllocateInfoKHR instance allocated on the thread-local MemoryStack. |
static VkExportMemoryAllocateInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkExportMemoryAllocateInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkExportMemoryAllocateInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExportMemoryAllocateInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkExportMemoryAllocateInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExportMemoryAllocateInfoKHR instance allocated on the specified MemoryStack. |
VkExportMemoryAllocateInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkExportMemoryAllocateInfoKHR |
set(int sType,
long pNext,
int handleTypes)
Initializes this struct with the specified values.
|
VkExportMemoryAllocateInfoKHR |
set(VkExportMemoryAllocateInfoKHR src)
Copies the specified struct data to this struct.
|
VkExportMemoryAllocateInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
handleTypes, nhandleTypes, nhandleTypes, npNext, npNext, nsType, nsType, pNext, set, sizeof, sTypepublic VkExportMemoryAllocateInfoKHR(java.nio.ByteBuffer container)
VkExportMemoryAllocateInfoKHR 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 VkExportMemoryAllocateInfoKHR sType(int value)
sType field.sType in class VkExportMemoryAllocateInfopublic VkExportMemoryAllocateInfoKHR pNext(long value)
pNext field.pNext in class VkExportMemoryAllocateInfopublic VkExportMemoryAllocateInfoKHR handleTypes(int value)
handleTypes field.handleTypes in class VkExportMemoryAllocateInfopublic VkExportMemoryAllocateInfoKHR set(int sType, long pNext, int handleTypes)
set in class VkExportMemoryAllocateInfopublic VkExportMemoryAllocateInfoKHR set(VkExportMemoryAllocateInfoKHR src)
src - the source structpublic static VkExportMemoryAllocateInfoKHR malloc()
VkExportMemoryAllocateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkExportMemoryAllocateInfoKHR calloc()
VkExportMemoryAllocateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkExportMemoryAllocateInfoKHR create()
VkExportMemoryAllocateInfoKHR instance allocated with BufferUtils.public static VkExportMemoryAllocateInfoKHR create(long address)
VkExportMemoryAllocateInfoKHR instance for the specified memory address.@Nullable public static VkExportMemoryAllocateInfoKHR createSafe(long address)
public static VkExportMemoryAllocateInfoKHR.Buffer malloc(int capacity)
VkExportMemoryAllocateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExportMemoryAllocateInfoKHR.Buffer calloc(int capacity)
VkExportMemoryAllocateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExportMemoryAllocateInfoKHR.Buffer create(int capacity)
VkExportMemoryAllocateInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkExportMemoryAllocateInfoKHR.Buffer create(long address, int capacity)
VkExportMemoryAllocateInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkExportMemoryAllocateInfoKHR.Buffer createSafe(long address, int capacity)
public static VkExportMemoryAllocateInfoKHR mallocStack()
VkExportMemoryAllocateInfoKHR instance allocated on the thread-local MemoryStack.public static VkExportMemoryAllocateInfoKHR callocStack()
VkExportMemoryAllocateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkExportMemoryAllocateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkExportMemoryAllocateInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkExportMemoryAllocateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkExportMemoryAllocateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkExportMemoryAllocateInfoKHR.Buffer mallocStack(int capacity)
VkExportMemoryAllocateInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkExportMemoryAllocateInfoKHR.Buffer callocStack(int capacity)
VkExportMemoryAllocateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkExportMemoryAllocateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExportMemoryAllocateInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkExportMemoryAllocateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExportMemoryAllocateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacityCopyright LWJGL. All Rights Reserved. License terms.