Package org.lwjgl.vulkan
Class VkPhysicalDeviceExternalSemaphoreInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceExternalSemaphoreInfo
-
- org.lwjgl.vulkan.VkPhysicalDeviceExternalSemaphoreInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceExternalSemaphoreInfoKHR extends VkPhysicalDeviceExternalSemaphoreInfo
SeeVkPhysicalDeviceExternalSemaphoreInfo.Layout
struct VkPhysicalDeviceExternalSemaphoreInfoKHR { VkStructureType sType; void const * pNext; VkExternalSemaphoreHandleTypeFlagBits handleType; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceExternalSemaphoreInfoKHR.BufferAn array ofVkPhysicalDeviceExternalSemaphoreInfoKHRstructs.
-
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.VkPhysicalDeviceExternalSemaphoreInfo
ALIGNOF, HANDLETYPE, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceExternalSemaphoreInfoKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceExternalSemaphoreInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceExternalSemaphoreInfoKHRcalloc()Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated withmemCalloc.static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceExternalSemaphoreInfoKHRcallocStack()Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceExternalSemaphoreInfoKHR.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceExternalSemaphoreInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceExternalSemaphoreInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceExternalSemaphoreInfoKHRcreate()Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated withBufferUtils.static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceExternalSemaphoreInfoKHRcreate(long address)Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance for the specified memory address.static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceExternalSemaphoreInfoKHRcreateSafe(long address)static VkPhysicalDeviceExternalSemaphoreInfoKHR.BuffercreateSafe(long address, int capacity)VkPhysicalDeviceExternalSemaphoreInfoKHRhandleType(int value)Sets the specified value to thehandleTypefield.static VkPhysicalDeviceExternalSemaphoreInfoKHRmalloc()Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated withmemAlloc.static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceExternalSemaphoreInfoKHRmallocStack()Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceExternalSemaphoreInfoKHR.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceExternalSemaphoreInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceExternalSemaphoreInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceExternalSemaphoreInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceExternalSemaphoreInfoKHRset(int sType, long pNext, int handleType)Initializes this struct with the specified values.VkPhysicalDeviceExternalSemaphoreInfoKHRset(VkPhysicalDeviceExternalSemaphoreInfoKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceExternalSemaphoreInfoKHRsType(int value)Sets the specified value to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceExternalSemaphoreInfo
handleType, nhandleType, nhandleType, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceExternalSemaphoreInfoKHR
public VkPhysicalDeviceExternalSemaphoreInfoKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceExternalSemaphoreInfoKHRinstance 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 VkPhysicalDeviceExternalSemaphoreInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceExternalSemaphoreInfo
-
pNext
public VkPhysicalDeviceExternalSemaphoreInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceExternalSemaphoreInfo
-
handleType
public VkPhysicalDeviceExternalSemaphoreInfoKHR handleType(int value)
Sets the specified value to thehandleTypefield.- Overrides:
handleTypein classVkPhysicalDeviceExternalSemaphoreInfo
-
set
public VkPhysicalDeviceExternalSemaphoreInfoKHR set(int sType, long pNext, int handleType)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceExternalSemaphoreInfo
-
set
public VkPhysicalDeviceExternalSemaphoreInfoKHR set(VkPhysicalDeviceExternalSemaphoreInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceExternalSemaphoreInfoKHR malloc()
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceExternalSemaphoreInfoKHR calloc()
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceExternalSemaphoreInfoKHR create()
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceExternalSemaphoreInfoKHR create(long address)
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceExternalSemaphoreInfoKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceExternalSemaphoreInfoKHR mallocStack()
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceExternalSemaphoreInfoKHR callocStack()
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceExternalSemaphoreInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceExternalSemaphoreInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceExternalSemaphoreInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceExternalSemaphoreInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-