public class VkExternalFenceProperties
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If handleType is not supported by the implementation, then VkExternalFenceProperties::externalFenceFeatures will be set to zero.
sType must be STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIESpNext must be NULLGetPhysicalDeviceExternalFenceProperties, GetPhysicalDeviceExternalFencePropertiesKHR
exportFromImportedHandleTypes – a bitmask of VkExternalFenceHandleTypeFlagBits indicating which types of imported handle handleType can be exported from.compatibleHandleTypes – a bitmask of VkExternalFenceHandleTypeFlagBits specifying handle types which can be specified at the same time as handleType when creating a fence.externalFenceFeatures – a bitmask of VkExternalFenceFeatureFlagBits indicating the features of handleType.
struct VkExternalFenceProperties {
VkStructureType sType;
void * pNext;
VkExternalFenceHandleTypeFlags exportFromImportedHandleTypes;
VkExternalFenceHandleTypeFlags compatibleHandleTypes;
VkExternalFenceFeatureFlags externalFenceFeatures;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkExternalFenceProperties.Buffer
An array of
VkExternalFenceProperties 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 |
EXTERNALFENCEFEATURES
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 |
|---|
VkExternalFenceProperties(java.nio.ByteBuffer container)
Creates a
VkExternalFenceProperties instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkExternalFenceProperties |
calloc()
Returns a new
VkExternalFenceProperties instance allocated with memCalloc. |
static VkExternalFenceProperties.Buffer |
calloc(int capacity)
Returns a new
VkExternalFenceProperties.Buffer instance allocated with memCalloc. |
static VkExternalFenceProperties |
callocStack()
Returns a new
VkExternalFenceProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalFenceProperties.Buffer |
callocStack(int capacity)
Returns a new
VkExternalFenceProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkExternalFenceProperties.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalFenceProperties.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkExternalFenceProperties |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalFenceProperties instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
compatibleHandleTypes()
Returns the value of the
compatibleHandleTypes field. |
static VkExternalFenceProperties |
create()
Returns a new
VkExternalFenceProperties instance allocated with BufferUtils. |
static VkExternalFenceProperties.Buffer |
create(int capacity)
Returns a new
VkExternalFenceProperties.Buffer instance allocated with BufferUtils. |
static VkExternalFenceProperties |
create(long address)
Returns a new
VkExternalFenceProperties instance for the specified memory address. |
static VkExternalFenceProperties.Buffer |
create(long address,
int capacity)
Create a
VkExternalFenceProperties.Buffer instance at the specified memory. |
static VkExternalFenceProperties |
createSafe(long address)
|
static VkExternalFenceProperties.Buffer |
createSafe(long address,
int capacity)
|
int |
exportFromImportedHandleTypes()
Returns the value of the
exportFromImportedHandleTypes field. |
int |
externalFenceFeatures()
Returns the value of the
externalFenceFeatures field. |
static VkExternalFenceProperties |
malloc()
Returns a new
VkExternalFenceProperties instance allocated with memAlloc. |
static VkExternalFenceProperties.Buffer |
malloc(int capacity)
Returns a new
VkExternalFenceProperties.Buffer instance allocated with memAlloc. |
static VkExternalFenceProperties |
mallocStack()
Returns a new
VkExternalFenceProperties instance allocated on the thread-local MemoryStack. |
static VkExternalFenceProperties.Buffer |
mallocStack(int capacity)
Returns a new
VkExternalFenceProperties.Buffer instance allocated on the thread-local MemoryStack. |
static VkExternalFenceProperties.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalFenceProperties.Buffer instance allocated on the specified MemoryStack. |
static VkExternalFenceProperties |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkExternalFenceProperties 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 |
nexternalFenceFeatures(long struct)
Unsafe version of
externalFenceFeatures(). |
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. |
VkExternalFenceProperties |
pNext(long value)
Sets the specified value to the
pNext field. |
VkExternalFenceProperties |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkExternalFenceProperties |
set(VkExternalFenceProperties src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkExternalFenceProperties |
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 EXTERNALFENCEFEATURES
public VkExternalFenceProperties(java.nio.ByteBuffer container)
VkExternalFenceProperties 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 externalFenceFeatures()
externalFenceFeatures field.public VkExternalFenceProperties sType(int value)
sType field.public VkExternalFenceProperties pNext(long value)
pNext field.public VkExternalFenceProperties set(int sType, long pNext)
public VkExternalFenceProperties set(VkExternalFenceProperties src)
src - the source structpublic static VkExternalFenceProperties malloc()
VkExternalFenceProperties instance allocated with memAlloc. The instance must be explicitly freed.public static VkExternalFenceProperties calloc()
VkExternalFenceProperties instance allocated with memCalloc. The instance must be explicitly freed.public static VkExternalFenceProperties create()
VkExternalFenceProperties instance allocated with BufferUtils.public static VkExternalFenceProperties create(long address)
VkExternalFenceProperties instance for the specified memory address.@Nullable public static VkExternalFenceProperties createSafe(long address)
public static VkExternalFenceProperties.Buffer malloc(int capacity)
VkExternalFenceProperties.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalFenceProperties.Buffer calloc(int capacity)
VkExternalFenceProperties.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkExternalFenceProperties.Buffer create(int capacity)
VkExternalFenceProperties.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkExternalFenceProperties.Buffer create(long address, int capacity)
VkExternalFenceProperties.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkExternalFenceProperties.Buffer createSafe(long address, int capacity)
public static VkExternalFenceProperties mallocStack()
VkExternalFenceProperties instance allocated on the thread-local MemoryStack.public static VkExternalFenceProperties callocStack()
VkExternalFenceProperties instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkExternalFenceProperties mallocStack(org.lwjgl.system.MemoryStack stack)
VkExternalFenceProperties instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkExternalFenceProperties callocStack(org.lwjgl.system.MemoryStack stack)
VkExternalFenceProperties instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkExternalFenceProperties.Buffer mallocStack(int capacity)
VkExternalFenceProperties.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkExternalFenceProperties.Buffer callocStack(int capacity)
VkExternalFenceProperties.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkExternalFenceProperties.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalFenceProperties.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkExternalFenceProperties.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkExternalFenceProperties.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 nexternalFenceFeatures(long struct)
externalFenceFeatures().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.