public class VkPhysicalDeviceExternalSemaphoreInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFOpNext must be NULL or a pointer to a valid instance of VkSemaphoreTypeCreateInfoKHRhandleType must be a valid VkExternalSemaphoreHandleTypeFlagBits valueGetPhysicalDeviceExternalSemaphoreProperties, GetPhysicalDeviceExternalSemaphorePropertiesKHR
sType – the type of this structurepNext – NULL or a pointer to an extension-specific structure.handleType – a VkExternalSemaphoreHandleTypeFlagBits value specifying the external semaphore handle type for which capabilities will be returned.
struct VkPhysicalDeviceExternalSemaphoreInfo {
VkStructureType sType;
void const * pNext;
VkExternalSemaphoreHandleTypeFlagBits handleType;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceExternalSemaphoreInfo.Buffer
An array of
VkPhysicalDeviceExternalSemaphoreInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
HANDLETYPE
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 |
|---|
VkPhysicalDeviceExternalSemaphoreInfo(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceExternalSemaphoreInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceExternalSemaphoreInfo |
calloc()
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo instance allocated with memCalloc. |
static VkPhysicalDeviceExternalSemaphoreInfo.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceExternalSemaphoreInfo |
callocStack()
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExternalSemaphoreInfo.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExternalSemaphoreInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExternalSemaphoreInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceExternalSemaphoreInfo |
create()
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo instance allocated with BufferUtils. |
static VkPhysicalDeviceExternalSemaphoreInfo.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceExternalSemaphoreInfo |
create(long address)
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo instance for the specified memory address. |
static VkPhysicalDeviceExternalSemaphoreInfo.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance at the specified memory. |
static VkPhysicalDeviceExternalSemaphoreInfo |
createSafe(long address)
|
static VkPhysicalDeviceExternalSemaphoreInfo.Buffer |
createSafe(long address,
int capacity)
|
int |
handleType()
Returns the value of the
handleType field. |
VkPhysicalDeviceExternalSemaphoreInfo |
handleType(int value)
Sets the specified value to the
handleType field. |
static VkPhysicalDeviceExternalSemaphoreInfo |
malloc()
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo instance allocated with memAlloc. |
static VkPhysicalDeviceExternalSemaphoreInfo.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceExternalSemaphoreInfo |
mallocStack()
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceExternalSemaphoreInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceExternalSemaphoreInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceExternalSemaphoreInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceExternalSemaphoreInfo instance allocated on the specified MemoryStack. |
static int |
nhandleType(long struct)
Unsafe version of
handleType(). |
static void |
nhandleType(long struct,
int value)
Unsafe version of
handleType. |
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. |
VkPhysicalDeviceExternalSemaphoreInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceExternalSemaphoreInfo |
set(int sType,
long pNext,
int handleType)
Initializes this struct with the specified values.
|
VkPhysicalDeviceExternalSemaphoreInfo |
set(VkPhysicalDeviceExternalSemaphoreInfo src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceExternalSemaphoreInfo |
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 HANDLETYPE
public VkPhysicalDeviceExternalSemaphoreInfo(java.nio.ByteBuffer container)
VkPhysicalDeviceExternalSemaphoreInfo 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 handleType()
handleType field.public VkPhysicalDeviceExternalSemaphoreInfo sType(int value)
sType field.public VkPhysicalDeviceExternalSemaphoreInfo pNext(long value)
pNext field.public VkPhysicalDeviceExternalSemaphoreInfo handleType(int value)
handleType field.public VkPhysicalDeviceExternalSemaphoreInfo set(int sType, long pNext, int handleType)
public VkPhysicalDeviceExternalSemaphoreInfo set(VkPhysicalDeviceExternalSemaphoreInfo src)
src - the source structpublic static VkPhysicalDeviceExternalSemaphoreInfo malloc()
VkPhysicalDeviceExternalSemaphoreInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceExternalSemaphoreInfo calloc()
VkPhysicalDeviceExternalSemaphoreInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceExternalSemaphoreInfo create()
VkPhysicalDeviceExternalSemaphoreInfo instance allocated with BufferUtils.public static VkPhysicalDeviceExternalSemaphoreInfo create(long address)
VkPhysicalDeviceExternalSemaphoreInfo instance for the specified memory address.@Nullable public static VkPhysicalDeviceExternalSemaphoreInfo createSafe(long address)
public static VkPhysicalDeviceExternalSemaphoreInfo.Buffer malloc(int capacity)
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceExternalSemaphoreInfo.Buffer calloc(int capacity)
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceExternalSemaphoreInfo.Buffer create(int capacity)
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceExternalSemaphoreInfo.Buffer create(long address, int capacity)
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceExternalSemaphoreInfo.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceExternalSemaphoreInfo mallocStack()
VkPhysicalDeviceExternalSemaphoreInfo instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceExternalSemaphoreInfo callocStack()
VkPhysicalDeviceExternalSemaphoreInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceExternalSemaphoreInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExternalSemaphoreInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceExternalSemaphoreInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExternalSemaphoreInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceExternalSemaphoreInfo.Buffer mallocStack(int capacity)
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceExternalSemaphoreInfo.Buffer callocStack(int capacity)
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceExternalSemaphoreInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExternalSemaphoreInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceExternalSemaphoreInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceExternalSemaphoreInfo.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 nhandleType(long struct)
handleType().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nhandleType(long struct,
int value)
handleType.Copyright LWJGL. All Rights Reserved. License terms.