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