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