Package org.lwjgl.vulkan
Class VkExternalSemaphorePropertiesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkExternalSemaphoreProperties
-
- org.lwjgl.vulkan.VkExternalSemaphorePropertiesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkExternalSemaphorePropertiesKHR extends VkExternalSemaphoreProperties
SeeVkExternalSemaphoreProperties
.Layout
struct VkExternalSemaphorePropertiesKHR { VkStructureType sType; void * pNext; VkExternalSemaphoreHandleTypeFlags exportFromImportedHandleTypes; VkExternalSemaphoreHandleTypeFlags compatibleHandleTypes; VkExternalSemaphoreFeatureFlags externalSemaphoreFeatures; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkExternalSemaphorePropertiesKHR.Buffer
An array ofVkExternalSemaphorePropertiesKHR
structs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkExternalSemaphoreProperties
ALIGNOF, COMPATIBLEHANDLETYPES, EXPORTFROMIMPORTEDHANDLETYPES, EXTERNALSEMAPHOREFEATURES, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkExternalSemaphorePropertiesKHR(java.nio.ByteBuffer container)
Creates aVkExternalSemaphorePropertiesKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkExternalSemaphorePropertiesKHR
calloc()
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated withmemCalloc
.static VkExternalSemaphorePropertiesKHR.Buffer
calloc(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated withmemCalloc
.static VkExternalSemaphorePropertiesKHR
callocStack()
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkExternalSemaphorePropertiesKHR.Buffer
callocStack(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkExternalSemaphorePropertiesKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkExternalSemaphorePropertiesKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkExternalSemaphorePropertiesKHR
create()
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated withBufferUtils
.static VkExternalSemaphorePropertiesKHR.Buffer
create(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated withBufferUtils
.static VkExternalSemaphorePropertiesKHR
create(long address)
Returns a newVkExternalSemaphorePropertiesKHR
instance for the specified memory address.static VkExternalSemaphorePropertiesKHR.Buffer
create(long address, int capacity)
Create aVkExternalSemaphorePropertiesKHR.Buffer
instance at the specified memory.static VkExternalSemaphorePropertiesKHR
createSafe(long address)
static VkExternalSemaphorePropertiesKHR.Buffer
createSafe(long address, int capacity)
static VkExternalSemaphorePropertiesKHR
malloc()
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated withmemAlloc
.static VkExternalSemaphorePropertiesKHR.Buffer
malloc(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated withmemAlloc
.static VkExternalSemaphorePropertiesKHR
mallocStack()
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated on the thread-localMemoryStack
.static VkExternalSemaphorePropertiesKHR.Buffer
mallocStack(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkExternalSemaphorePropertiesKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkExternalSemaphorePropertiesKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated on the specifiedMemoryStack
.VkExternalSemaphorePropertiesKHR
pNext(long value)
Sets the specified value to thepNext
field.VkExternalSemaphorePropertiesKHR
set(int sType, long pNext)
Initializes this struct with the specified values.VkExternalSemaphorePropertiesKHR
set(VkExternalSemaphorePropertiesKHR src)
Copies the specified struct data to this struct.VkExternalSemaphorePropertiesKHR
sType(int value)
Sets the specified value to thesType
field.-
Methods inherited from class org.lwjgl.vulkan.VkExternalSemaphoreProperties
compatibleHandleTypes, exportFromImportedHandleTypes, externalSemaphoreFeatures, ncompatibleHandleTypes, nexportFromImportedHandleTypes, nexternalSemaphoreFeatures, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkExternalSemaphorePropertiesKHR
public VkExternalSemaphorePropertiesKHR(java.nio.ByteBuffer container)
Creates aVkExternalSemaphorePropertiesKHR
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sType
public VkExternalSemaphorePropertiesKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkExternalSemaphoreProperties
-
pNext
public VkExternalSemaphorePropertiesKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkExternalSemaphoreProperties
-
set
public VkExternalSemaphorePropertiesKHR set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
set
in classVkExternalSemaphoreProperties
-
set
public VkExternalSemaphorePropertiesKHR set(VkExternalSemaphorePropertiesKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkExternalSemaphorePropertiesKHR malloc()
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkExternalSemaphorePropertiesKHR calloc()
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkExternalSemaphorePropertiesKHR create()
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated withBufferUtils
.
-
create
public static VkExternalSemaphorePropertiesKHR create(long address)
Returns a newVkExternalSemaphorePropertiesKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkExternalSemaphorePropertiesKHR createSafe(long address)
-
malloc
public static VkExternalSemaphorePropertiesKHR.Buffer malloc(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkExternalSemaphorePropertiesKHR.Buffer calloc(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkExternalSemaphorePropertiesKHR.Buffer create(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkExternalSemaphorePropertiesKHR.Buffer create(long address, int capacity)
Create aVkExternalSemaphorePropertiesKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkExternalSemaphorePropertiesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkExternalSemaphorePropertiesKHR mallocStack()
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkExternalSemaphorePropertiesKHR callocStack()
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkExternalSemaphorePropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkExternalSemaphorePropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalSemaphorePropertiesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkExternalSemaphorePropertiesKHR.Buffer mallocStack(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkExternalSemaphorePropertiesKHR.Buffer callocStack(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkExternalSemaphorePropertiesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkExternalSemaphorePropertiesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalSemaphorePropertiesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-