public class VkExternalMemoryImageCreateInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFOhandleTypes must be a valid combination of VkExternalMemoryHandleTypeFlagBits valueshandleTypes must not be 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.handleTypes – a bitmask of VkExternalMemoryHandleTypeFlagBits specifying one or more external memory handle types.
struct VkExternalMemoryImageCreateInfo {
VkStructureType sType;
void const * pNext;
VkExternalMemoryHandleTypeFlags handleTypes;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkExternalMemoryImageCreateInfo.Buffer
An array of
VkExternalMemoryImageCreateInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
HANDLETYPES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkExternalMemoryImageCreateInfo(java.nio.ByteBuffer container)
Creates a
VkExternalMemoryImageCreateInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkExternalMemoryImageCreateInfo |
calloc()
Returns a new
VkExternalMemoryImageCreateInfo instance allocated with memCalloc. |
static VkExternalMemoryImageCreateInfo.Buffer |
calloc(int capacity)
Returns a new
VkExternalMemoryImageCreateInfo.Buffer instance allocated with memCalloc. |
static VkExternalMemoryImageCreateInfo |
callocStack()
Returns a new
VkExternalMemoryImageCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalMemoryImageCreateInfo.Buffer |
callocStack(int capacity)
Returns a new
VkExternalMemoryImageCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalMemoryImageCreateInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalMemoryImageCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExternalMemoryImageCreateInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalMemoryImageCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExternalMemoryImageCreateInfo |
create()
Returns a new
VkExternalMemoryImageCreateInfo instance allocated with BufferUtils. |
static VkExternalMemoryImageCreateInfo.Buffer |
create(int capacity)
Returns a new
VkExternalMemoryImageCreateInfo.Buffer instance allocated with BufferUtils. |
static VkExternalMemoryImageCreateInfo |
create(long address)
Returns a new
VkExternalMemoryImageCreateInfo instance for the specified memory address. |
static VkExternalMemoryImageCreateInfo.Buffer |
create(long address,
int capacity)
Create a
VkExternalMemoryImageCreateInfo.Buffer instance at the specified memory. |
static VkExternalMemoryImageCreateInfo |
createSafe(long address)
|
static VkExternalMemoryImageCreateInfo.Buffer |
createSafe(long address,
int capacity)
|
int |
handleTypes()
Returns the value of the
handleTypes field. |
VkExternalMemoryImageCreateInfo |
handleTypes(int value)
Sets the specified value to the
handleTypes field. |
static VkExternalMemoryImageCreateInfo |
malloc()
Returns a new
VkExternalMemoryImageCreateInfo instance allocated with memAlloc. |
static VkExternalMemoryImageCreateInfo.Buffer |
malloc(int capacity)
Returns a new
VkExternalMemoryImageCreateInfo.Buffer instance allocated with memAlloc. |
static VkExternalMemoryImageCreateInfo |
mallocStack()
Returns a new
VkExternalMemoryImageCreateInfo instance allocated on the thread-local MemoryStack. |
static VkExternalMemoryImageCreateInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkExternalMemoryImageCreateInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkExternalMemoryImageCreateInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalMemoryImageCreateInfo.Buffer instance allocated on the specified MemoryStack. |
static VkExternalMemoryImageCreateInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalMemoryImageCreateInfo instance allocated on the specified MemoryStack. |
static int |
nhandleTypes(long struct)
Unsafe version of
handleTypes(). |
static void |
nhandleTypes(long struct,
int value)
Unsafe version of
handleTypes. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkExternalMemoryImageCreateInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
VkExternalMemoryImageCreateInfo |
set(int sType,
long pNext,
int handleTypes)
Initializes this struct with the specified values.
|
VkExternalMemoryImageCreateInfo |
set(VkExternalMemoryImageCreateInfo src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkExternalMemoryImageCreateInfo |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int HANDLETYPES
public VkExternalMemoryImageCreateInfo(java.nio.ByteBuffer container)
VkExternalMemoryImageCreateInfo 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 int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int handleTypes()
handleTypes field.public VkExternalMemoryImageCreateInfo sType(int value)
sType field.public VkExternalMemoryImageCreateInfo pNext(long value)
pNext field.public VkExternalMemoryImageCreateInfo handleTypes(int value)
handleTypes field.public VkExternalMemoryImageCreateInfo set(int sType, long pNext, int handleTypes)
public VkExternalMemoryImageCreateInfo set(VkExternalMemoryImageCreateInfo src)
src - the source structpublic static VkExternalMemoryImageCreateInfo malloc()
VkExternalMemoryImageCreateInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkExternalMemoryImageCreateInfo calloc()
VkExternalMemoryImageCreateInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkExternalMemoryImageCreateInfo create()
VkExternalMemoryImageCreateInfo instance allocated with BufferUtils.public static VkExternalMemoryImageCreateInfo create(long address)
VkExternalMemoryImageCreateInfo instance for the specified memory address.@Nullable public static VkExternalMemoryImageCreateInfo createSafe(long address)
public static VkExternalMemoryImageCreateInfo.Buffer malloc(int capacity)
VkExternalMemoryImageCreateInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalMemoryImageCreateInfo.Buffer calloc(int capacity)
VkExternalMemoryImageCreateInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalMemoryImageCreateInfo.Buffer create(int capacity)
VkExternalMemoryImageCreateInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkExternalMemoryImageCreateInfo.Buffer create(long address, int capacity)
VkExternalMemoryImageCreateInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkExternalMemoryImageCreateInfo.Buffer createSafe(long address, int capacity)
public static VkExternalMemoryImageCreateInfo mallocStack()
VkExternalMemoryImageCreateInfo instance allocated on the thread-local MemoryStack.public static VkExternalMemoryImageCreateInfo callocStack()
VkExternalMemoryImageCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkExternalMemoryImageCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkExternalMemoryImageCreateInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkExternalMemoryImageCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkExternalMemoryImageCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkExternalMemoryImageCreateInfo.Buffer mallocStack(int capacity)
VkExternalMemoryImageCreateInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkExternalMemoryImageCreateInfo.Buffer callocStack(int capacity)
VkExternalMemoryImageCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkExternalMemoryImageCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalMemoryImageCreateInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkExternalMemoryImageCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalMemoryImageCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int nhandleTypes(long struct)
handleTypes().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nhandleTypes(long struct,
int value)
handleTypes.Copyright LWJGL. All Rights Reserved. License terms.