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