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