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