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 classVkExternalSemaphorePropertiesKHR.BufferAn array ofVkExternalSemaphorePropertiesKHRstructs.
-
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 aVkExternalSemaphorePropertiesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkExternalSemaphorePropertiesKHRcalloc()Returns a newVkExternalSemaphorePropertiesKHRinstance allocated withmemCalloc.static VkExternalSemaphorePropertiesKHR.Buffercalloc(int capacity)Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated withmemCalloc.static VkExternalSemaphorePropertiesKHRcallocStack()Returns a newVkExternalSemaphorePropertiesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkExternalSemaphorePropertiesKHR.BuffercallocStack(int capacity)Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkExternalSemaphorePropertiesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkExternalSemaphorePropertiesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkExternalSemaphorePropertiesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkExternalSemaphorePropertiesKHRcreate()Returns a newVkExternalSemaphorePropertiesKHRinstance allocated withBufferUtils.static VkExternalSemaphorePropertiesKHR.Buffercreate(int capacity)Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated withBufferUtils.static VkExternalSemaphorePropertiesKHRcreate(long address)Returns a newVkExternalSemaphorePropertiesKHRinstance for the specified memory address.static VkExternalSemaphorePropertiesKHR.Buffercreate(long address, int capacity)Create aVkExternalSemaphorePropertiesKHR.Bufferinstance at the specified memory.static VkExternalSemaphorePropertiesKHRcreateSafe(long address)static VkExternalSemaphorePropertiesKHR.BuffercreateSafe(long address, int capacity)static VkExternalSemaphorePropertiesKHRmalloc()Returns a newVkExternalSemaphorePropertiesKHRinstance allocated withmemAlloc.static VkExternalSemaphorePropertiesKHR.Buffermalloc(int capacity)Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated withmemAlloc.static VkExternalSemaphorePropertiesKHRmallocStack()Returns a newVkExternalSemaphorePropertiesKHRinstance allocated on the thread-localMemoryStack.static VkExternalSemaphorePropertiesKHR.BuffermallocStack(int capacity)Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkExternalSemaphorePropertiesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkExternalSemaphorePropertiesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkExternalSemaphorePropertiesKHRinstance allocated on the specifiedMemoryStack.VkExternalSemaphorePropertiesKHRpNext(long value)Sets the specified value to thepNextfield.VkExternalSemaphorePropertiesKHRset(int sType, long pNext)Initializes this struct with the specified values.VkExternalSemaphorePropertiesKHRset(VkExternalSemaphorePropertiesKHR src)Copies the specified struct data to this struct.VkExternalSemaphorePropertiesKHRsType(int value)Sets the specified value to thesTypefield.-
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 aVkExternalSemaphorePropertiesKHRinstance at the current position of the specifiedByteBuffercontainer. 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 thesTypefield.- Overrides:
sTypein classVkExternalSemaphoreProperties
-
pNext
public VkExternalSemaphorePropertiesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkExternalSemaphoreProperties
-
set
public VkExternalSemaphorePropertiesKHR set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin 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 newVkExternalSemaphorePropertiesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkExternalSemaphorePropertiesKHR calloc()
Returns a newVkExternalSemaphorePropertiesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkExternalSemaphorePropertiesKHR create()
Returns a newVkExternalSemaphorePropertiesKHRinstance allocated withBufferUtils.
-
create
public static VkExternalSemaphorePropertiesKHR create(long address)
Returns a newVkExternalSemaphorePropertiesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkExternalSemaphorePropertiesKHR createSafe(long address)
-
malloc
public static VkExternalSemaphorePropertiesKHR.Buffer malloc(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkExternalSemaphorePropertiesKHR.Buffer calloc(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkExternalSemaphorePropertiesKHR.Buffer create(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkExternalSemaphorePropertiesKHR.Buffer create(long address, int capacity)
Create aVkExternalSemaphorePropertiesKHR.Bufferinstance 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 newVkExternalSemaphorePropertiesKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkExternalSemaphorePropertiesKHR callocStack()
Returns a newVkExternalSemaphorePropertiesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkExternalSemaphorePropertiesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalSemaphorePropertiesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkExternalSemaphorePropertiesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkExternalSemaphorePropertiesKHRinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkExternalSemaphorePropertiesKHR.Buffer callocStack(int capacity)
Returns a newVkExternalSemaphorePropertiesKHR.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-