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