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