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