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