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