public class VkExternalSemaphoreProperties
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If handleType is not supported by the implementation, then VkExternalSemaphoreProperties::externalSemaphoreFeatures will be set to zero.
sType must be STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIESpNext must be NULLGetPhysicalDeviceExternalSemaphoreProperties, GetPhysicalDeviceExternalSemaphorePropertiesKHR
exportFromImportedHandleTypes – a bitmask of VkExternalSemaphoreHandleTypeFlagBits specifying which types of imported handle handleType can be exported from.compatibleHandleTypes – a bitmask of VkExternalSemaphoreHandleTypeFlagBits specifying handle types which can be specified at the same time as handleType when creating a semaphore.externalSemaphoreFeatures – a bitmask of VkExternalSemaphoreFeatureFlagBits describing the features of handleType.
struct VkExternalSemaphoreProperties {
VkStructureType sType;
void * pNext;
VkExternalSemaphoreHandleTypeFlags exportFromImportedHandleTypes;
VkExternalSemaphoreHandleTypeFlags compatibleHandleTypes;
VkExternalSemaphoreFeatureFlags externalSemaphoreFeatures;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkExternalSemaphoreProperties.Buffer
An array of
VkExternalSemaphoreProperties structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COMPATIBLEHANDLETYPES
The struct member offsets.
|
static int |
EXPORTFROMIMPORTEDHANDLETYPES
The struct member offsets.
|
static int |
EXTERNALSEMAPHOREFEATURES
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 |
|---|
VkExternalSemaphoreProperties(java.nio.ByteBuffer container)
Creates a
VkExternalSemaphoreProperties instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkExternalSemaphoreProperties |
calloc()
Returns a new
VkExternalSemaphoreProperties instance allocated with memCalloc. |
static VkExternalSemaphoreProperties.Buffer |
calloc(int capacity)
Returns a new
VkExternalSemaphoreProperties.Buffer instance allocated with memCalloc. |
static VkExternalSemaphoreProperties |
callocStack()
Returns a new
VkExternalSemaphoreProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalSemaphoreProperties.Buffer |
callocStack(int capacity)
Returns a new
VkExternalSemaphoreProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalSemaphoreProperties.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalSemaphoreProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExternalSemaphoreProperties |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalSemaphoreProperties instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
compatibleHandleTypes()
Returns the value of the
compatibleHandleTypes field. |
static VkExternalSemaphoreProperties |
create()
Returns a new
VkExternalSemaphoreProperties instance allocated with BufferUtils. |
static VkExternalSemaphoreProperties.Buffer |
create(int capacity)
Returns a new
VkExternalSemaphoreProperties.Buffer instance allocated with BufferUtils. |
static VkExternalSemaphoreProperties |
create(long address)
Returns a new
VkExternalSemaphoreProperties instance for the specified memory address. |
static VkExternalSemaphoreProperties.Buffer |
create(long address,
int capacity)
Create a
VkExternalSemaphoreProperties.Buffer instance at the specified memory. |
static VkExternalSemaphoreProperties |
createSafe(long address)
|
static VkExternalSemaphoreProperties.Buffer |
createSafe(long address,
int capacity)
|
int |
exportFromImportedHandleTypes()
Returns the value of the
exportFromImportedHandleTypes field. |
int |
externalSemaphoreFeatures()
Returns the value of the
externalSemaphoreFeatures field. |
static VkExternalSemaphoreProperties |
malloc()
Returns a new
VkExternalSemaphoreProperties instance allocated with memAlloc. |
static VkExternalSemaphoreProperties.Buffer |
malloc(int capacity)
Returns a new
VkExternalSemaphoreProperties.Buffer instance allocated with memAlloc. |
static VkExternalSemaphoreProperties |
mallocStack()
Returns a new
VkExternalSemaphoreProperties instance allocated on the thread-local MemoryStack. |
static VkExternalSemaphoreProperties.Buffer |
mallocStack(int capacity)
Returns a new
VkExternalSemaphoreProperties.Buffer instance allocated on the thread-local MemoryStack. |
static VkExternalSemaphoreProperties.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalSemaphoreProperties.Buffer instance allocated on the specified MemoryStack. |
static VkExternalSemaphoreProperties |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalSemaphoreProperties instance allocated on the specified MemoryStack. |
static int |
ncompatibleHandleTypes(long struct)
Unsafe version of
compatibleHandleTypes(). |
static int |
nexportFromImportedHandleTypes(long struct)
Unsafe version of
exportFromImportedHandleTypes(). |
static int |
nexternalSemaphoreFeatures(long struct)
Unsafe version of
externalSemaphoreFeatures(). |
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. |
VkExternalSemaphoreProperties |
pNext(long value)
Sets the specified value to the
pNext field. |
VkExternalSemaphoreProperties |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkExternalSemaphoreProperties |
set(VkExternalSemaphoreProperties src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkExternalSemaphoreProperties |
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 EXPORTFROMIMPORTEDHANDLETYPES
public static final int COMPATIBLEHANDLETYPES
public static final int EXTERNALSEMAPHOREFEATURES
public VkExternalSemaphoreProperties(java.nio.ByteBuffer container)
VkExternalSemaphoreProperties 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 exportFromImportedHandleTypes()
exportFromImportedHandleTypes field.public int compatibleHandleTypes()
compatibleHandleTypes field.public int externalSemaphoreFeatures()
externalSemaphoreFeatures field.public VkExternalSemaphoreProperties sType(int value)
sType field.public VkExternalSemaphoreProperties pNext(long value)
pNext field.public VkExternalSemaphoreProperties set(int sType, long pNext)
public VkExternalSemaphoreProperties set(VkExternalSemaphoreProperties src)
src - the source structpublic static VkExternalSemaphoreProperties malloc()
VkExternalSemaphoreProperties instance allocated with memAlloc. The instance must be explicitly freed.public static VkExternalSemaphoreProperties calloc()
VkExternalSemaphoreProperties instance allocated with memCalloc. The instance must be explicitly freed.public static VkExternalSemaphoreProperties create()
VkExternalSemaphoreProperties instance allocated with BufferUtils.public static VkExternalSemaphoreProperties create(long address)
VkExternalSemaphoreProperties instance for the specified memory address.@Nullable public static VkExternalSemaphoreProperties createSafe(long address)
public static VkExternalSemaphoreProperties.Buffer malloc(int capacity)
VkExternalSemaphoreProperties.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalSemaphoreProperties.Buffer calloc(int capacity)
VkExternalSemaphoreProperties.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalSemaphoreProperties.Buffer create(int capacity)
VkExternalSemaphoreProperties.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkExternalSemaphoreProperties.Buffer create(long address, int capacity)
VkExternalSemaphoreProperties.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkExternalSemaphoreProperties.Buffer createSafe(long address, int capacity)
public static VkExternalSemaphoreProperties mallocStack()
VkExternalSemaphoreProperties instance allocated on the thread-local MemoryStack.public static VkExternalSemaphoreProperties callocStack()
VkExternalSemaphoreProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkExternalSemaphoreProperties mallocStack(org.lwjgl.system.MemoryStack stack)
VkExternalSemaphoreProperties instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkExternalSemaphoreProperties callocStack(org.lwjgl.system.MemoryStack stack)
VkExternalSemaphoreProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkExternalSemaphoreProperties.Buffer mallocStack(int capacity)
VkExternalSemaphoreProperties.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkExternalSemaphoreProperties.Buffer callocStack(int capacity)
VkExternalSemaphoreProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkExternalSemaphoreProperties.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalSemaphoreProperties.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkExternalSemaphoreProperties.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalSemaphoreProperties.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 nexportFromImportedHandleTypes(long struct)
exportFromImportedHandleTypes().public static int ncompatibleHandleTypes(long struct)
compatibleHandleTypes().public static int nexternalSemaphoreFeatures(long struct)
externalSemaphoreFeatures().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.