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