Package org.lwjgl.util.remotery
Class RMTVulkanFunctions
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct rmtVulkanFunctions {
void * vkGetPhysicalDeviceProperties;
void * vkQueueSubmit;
void * vkQueueWaitIdle;
void * vkCreateQueryPool;
void * vkDestroyQueryPool;
void * vkResetQueryPool;
void * vkGetQueryPoolResults;
void * vkCmdWriteTimestamp;
void * vkCreateSemaphore;
void * vkDestroySemaphore;
void * vkSignalSemaphore;
void * vkGetSemaphoreCounterValue;
void * vkGetCalibratedTimestampsEXT;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionRMTVulkanFunctions(ByteBuffer container) Creates aRMTVulkanFunctionsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic RMTVulkanFunctionscalloc()Returns a newRMTVulkanFunctionsinstance allocated withmemCalloc.static RMTVulkanFunctions.Buffercalloc(int capacity) Returns a newRMTVulkanFunctions.Bufferinstance allocated withmemCalloc.static RMTVulkanFunctions.Buffercalloc(int capacity, MemoryStack stack) Returns a newRMTVulkanFunctions.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static RMTVulkanFunctionscalloc(MemoryStack stack) Returns a newRMTVulkanFunctionsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static RMTVulkanFunctionscreate()Returns a newRMTVulkanFunctionsinstance allocated withBufferUtils.static RMTVulkanFunctions.Buffercreate(int capacity) Returns a newRMTVulkanFunctions.Bufferinstance allocated withBufferUtils.static RMTVulkanFunctionscreate(long address) Returns a newRMTVulkanFunctionsinstance for the specified memory address.static RMTVulkanFunctions.Buffercreate(long address, int capacity) Create aRMTVulkanFunctions.Bufferinstance at the specified memory.static @Nullable RMTVulkanFunctionscreateSafe(long address) static @Nullable RMTVulkanFunctions.BuffercreateSafe(long address, int capacity) static RMTVulkanFunctionsmalloc()Returns a newRMTVulkanFunctionsinstance allocated withmemAlloc.static RMTVulkanFunctions.Buffermalloc(int capacity) Returns a newRMTVulkanFunctions.Bufferinstance allocated withmemAlloc.static RMTVulkanFunctions.Buffermalloc(int capacity, MemoryStack stack) Returns a newRMTVulkanFunctions.Bufferinstance allocated on the specifiedMemoryStack.static RMTVulkanFunctionsmalloc(MemoryStack stack) Returns a newRMTVulkanFunctionsinstance allocated on the specifiedMemoryStack.static longnvkCmdWriteTimestamp(long struct) Unsafe version ofvkCmdWriteTimestamp().static voidnvkCmdWriteTimestamp(long struct, long value) Unsafe version ofvkCmdWriteTimestamp.static longnvkCreateQueryPool(long struct) Unsafe version ofvkCreateQueryPool().static voidnvkCreateQueryPool(long struct, long value) Unsafe version ofvkCreateQueryPool.static longnvkCreateSemaphore(long struct) Unsafe version ofvkCreateSemaphore().static voidnvkCreateSemaphore(long struct, long value) Unsafe version ofvkCreateSemaphore.static longnvkDestroyQueryPool(long struct) Unsafe version ofvkDestroyQueryPool().static voidnvkDestroyQueryPool(long struct, long value) Unsafe version ofvkDestroyQueryPool.static longnvkDestroySemaphore(long struct) Unsafe version ofvkDestroySemaphore().static voidnvkDestroySemaphore(long struct, long value) Unsafe version ofvkDestroySemaphore.static longnvkGetCalibratedTimestampsEXT(long struct) Unsafe version ofvkGetCalibratedTimestampsEXT().static voidnvkGetCalibratedTimestampsEXT(long struct, long value) Unsafe version ofvkGetCalibratedTimestampsEXT.static longnvkGetPhysicalDeviceProperties(long struct) Unsafe version ofvkGetPhysicalDeviceProperties().static voidnvkGetPhysicalDeviceProperties(long struct, long value) Unsafe version ofvkGetPhysicalDeviceProperties.static longnvkGetQueryPoolResults(long struct) Unsafe version ofvkGetQueryPoolResults().static voidnvkGetQueryPoolResults(long struct, long value) Unsafe version ofvkGetQueryPoolResults.static longnvkGetSemaphoreCounterValue(long struct) Unsafe version ofvkGetSemaphoreCounterValue().static voidnvkGetSemaphoreCounterValue(long struct, long value) Unsafe version ofvkGetSemaphoreCounterValue.static longnvkQueueSubmit(long struct) Unsafe version ofvkQueueSubmit().static voidnvkQueueSubmit(long struct, long value) Unsafe version ofvkQueueSubmit.static longnvkQueueWaitIdle(long struct) Unsafe version ofvkQueueWaitIdle().static voidnvkQueueWaitIdle(long struct, long value) Unsafe version ofvkQueueWaitIdle.static longnvkResetQueryPool(long struct) Unsafe version ofvkResetQueryPool().static voidnvkResetQueryPool(long struct, long value) Unsafe version ofvkResetQueryPool.static longnvkSignalSemaphore(long struct) Unsafe version ofvkSignalSemaphore().static voidnvkSignalSemaphore(long struct, long value) Unsafe version ofvkSignalSemaphore.set(long vkGetPhysicalDeviceProperties, long vkQueueSubmit, long vkQueueWaitIdle, long vkCreateQueryPool, long vkDestroyQueryPool, long vkResetQueryPool, long vkGetQueryPoolResults, long vkCmdWriteTimestamp, long vkCreateSemaphore, long vkDestroySemaphore, long vkSignalSemaphore, long vkGetSemaphoreCounterValue, long vkGetCalibratedTimestampsEXT) Initializes this struct with the specified values.set(RMTVulkanFunctions src) Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).static voidvalidate(long struct) Validates pointer members that should not beNULL.longvkCmdWriteTimestamp(long value) Sets the specified value to thevkCmdWriteTimestampfield.longvkCreateQueryPool(long value) Sets the specified value to thevkCreateQueryPoolfield.longvkCreateSemaphore(long value) Sets the specified value to thevkCreateSemaphorefield.longvkDestroyQueryPool(long value) Sets the specified value to thevkDestroyQueryPoolfield.longvkDestroySemaphore(long value) Sets the specified value to thevkDestroySemaphorefield.longvkGetCalibratedTimestampsEXT(long value) Sets the specified value to thevkGetCalibratedTimestampsEXTfield.longvkGetPhysicalDeviceProperties(long value) Sets the specified value to thevkGetPhysicalDevicePropertiesfield.longvkGetQueryPoolResults(long value) Sets the specified value to thevkGetQueryPoolResultsfield.longvkGetSemaphoreCounterValue(long value) Sets the specified value to thevkGetSemaphoreCounterValuefield.longvkQueueSubmit(long value) Sets the specified value to thevkQueueSubmitfield.longvkQueueWaitIdle(long value) Sets the specified value to thevkQueueWaitIdlefield.longvkResetQueryPool(long value) Sets the specified value to thevkResetQueryPoolfield.longvkSignalSemaphore(long value) Sets the specified value to thevkSignalSemaphorefield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
VKGETPHYSICALDEVICEPROPERTIES
public static final int VKGETPHYSICALDEVICEPROPERTIESThe struct member offsets. -
VKQUEUESUBMIT
public static final int VKQUEUESUBMITThe struct member offsets. -
VKQUEUEWAITIDLE
public static final int VKQUEUEWAITIDLEThe struct member offsets. -
VKCREATEQUERYPOOL
public static final int VKCREATEQUERYPOOLThe struct member offsets. -
VKDESTROYQUERYPOOL
public static final int VKDESTROYQUERYPOOLThe struct member offsets. -
VKRESETQUERYPOOL
public static final int VKRESETQUERYPOOLThe struct member offsets. -
VKGETQUERYPOOLRESULTS
public static final int VKGETQUERYPOOLRESULTSThe struct member offsets. -
VKCMDWRITETIMESTAMP
public static final int VKCMDWRITETIMESTAMPThe struct member offsets. -
VKCREATESEMAPHORE
public static final int VKCREATESEMAPHOREThe struct member offsets. -
VKDESTROYSEMAPHORE
public static final int VKDESTROYSEMAPHOREThe struct member offsets. -
VKSIGNALSEMAPHORE
public static final int VKSIGNALSEMAPHOREThe struct member offsets. -
VKGETSEMAPHORECOUNTERVALUE
public static final int VKGETSEMAPHORECOUNTERVALUEThe struct member offsets. -
VKGETCALIBRATEDTIMESTAMPSEXT
public static final int VKGETCALIBRATEDTIMESTAMPSEXTThe struct member offsets.
-
-
Constructor Details
-
RMTVulkanFunctions
Creates aRMTVulkanFunctionsinstance 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 Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<RMTVulkanFunctions>
-
vkGetPhysicalDeviceProperties
public long vkGetPhysicalDeviceProperties()- Returns:
- the value of the
vkGetPhysicalDevicePropertiesfield.
-
vkQueueSubmit
public long vkQueueSubmit()- Returns:
- the value of the
vkQueueSubmitfield.
-
vkQueueWaitIdle
public long vkQueueWaitIdle()- Returns:
- the value of the
vkQueueWaitIdlefield.
-
vkCreateQueryPool
public long vkCreateQueryPool()- Returns:
- the value of the
vkCreateQueryPoolfield.
-
vkDestroyQueryPool
public long vkDestroyQueryPool()- Returns:
- the value of the
vkDestroyQueryPoolfield.
-
vkResetQueryPool
public long vkResetQueryPool()- Returns:
- the value of the
vkResetQueryPoolfield.
-
vkGetQueryPoolResults
public long vkGetQueryPoolResults()- Returns:
- the value of the
vkGetQueryPoolResultsfield.
-
vkCmdWriteTimestamp
public long vkCmdWriteTimestamp()- Returns:
- the value of the
vkCmdWriteTimestampfield.
-
vkCreateSemaphore
public long vkCreateSemaphore()- Returns:
- the value of the
vkCreateSemaphorefield.
-
vkDestroySemaphore
public long vkDestroySemaphore()- Returns:
- the value of the
vkDestroySemaphorefield.
-
vkSignalSemaphore
public long vkSignalSemaphore()- Returns:
- the value of the
vkSignalSemaphorefield.
-
vkGetSemaphoreCounterValue
public long vkGetSemaphoreCounterValue()- Returns:
- the value of the
vkGetSemaphoreCounterValuefield.
-
vkGetCalibratedTimestampsEXT
public long vkGetCalibratedTimestampsEXT()- Returns:
- the value of the
vkGetCalibratedTimestampsEXTfield.
-
vkGetPhysicalDeviceProperties
Sets the specified value to thevkGetPhysicalDevicePropertiesfield. -
vkQueueSubmit
Sets the specified value to thevkQueueSubmitfield. -
vkQueueWaitIdle
Sets the specified value to thevkQueueWaitIdlefield. -
vkCreateQueryPool
Sets the specified value to thevkCreateQueryPoolfield. -
vkDestroyQueryPool
Sets the specified value to thevkDestroyQueryPoolfield. -
vkResetQueryPool
Sets the specified value to thevkResetQueryPoolfield. -
vkGetQueryPoolResults
Sets the specified value to thevkGetQueryPoolResultsfield. -
vkCmdWriteTimestamp
Sets the specified value to thevkCmdWriteTimestampfield. -
vkCreateSemaphore
Sets the specified value to thevkCreateSemaphorefield. -
vkDestroySemaphore
Sets the specified value to thevkDestroySemaphorefield. -
vkSignalSemaphore
Sets the specified value to thevkSignalSemaphorefield. -
vkGetSemaphoreCounterValue
Sets the specified value to thevkGetSemaphoreCounterValuefield. -
vkGetCalibratedTimestampsEXT
Sets the specified value to thevkGetCalibratedTimestampsEXTfield. -
set
public RMTVulkanFunctions set(long vkGetPhysicalDeviceProperties, long vkQueueSubmit, long vkQueueWaitIdle, long vkCreateQueryPool, long vkDestroyQueryPool, long vkResetQueryPool, long vkGetQueryPoolResults, long vkCmdWriteTimestamp, long vkCreateSemaphore, long vkDestroySemaphore, long vkSignalSemaphore, long vkGetSemaphoreCounterValue, long vkGetCalibratedTimestampsEXT) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newRMTVulkanFunctionsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newRMTVulkanFunctionsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newRMTVulkanFunctionsinstance allocated withBufferUtils. -
create
Returns a newRMTVulkanFunctionsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newRMTVulkanFunctions.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newRMTVulkanFunctions.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newRMTVulkanFunctions.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aRMTVulkanFunctions.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newRMTVulkanFunctionsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newRMTVulkanFunctionsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newRMTVulkanFunctions.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newRMTVulkanFunctions.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nvkGetPhysicalDeviceProperties
public static long nvkGetPhysicalDeviceProperties(long struct) Unsafe version ofvkGetPhysicalDeviceProperties(). -
nvkQueueSubmit
public static long nvkQueueSubmit(long struct) Unsafe version ofvkQueueSubmit(). -
nvkQueueWaitIdle
public static long nvkQueueWaitIdle(long struct) Unsafe version ofvkQueueWaitIdle(). -
nvkCreateQueryPool
public static long nvkCreateQueryPool(long struct) Unsafe version ofvkCreateQueryPool(). -
nvkDestroyQueryPool
public static long nvkDestroyQueryPool(long struct) Unsafe version ofvkDestroyQueryPool(). -
nvkResetQueryPool
public static long nvkResetQueryPool(long struct) Unsafe version ofvkResetQueryPool(). -
nvkGetQueryPoolResults
public static long nvkGetQueryPoolResults(long struct) Unsafe version ofvkGetQueryPoolResults(). -
nvkCmdWriteTimestamp
public static long nvkCmdWriteTimestamp(long struct) Unsafe version ofvkCmdWriteTimestamp(). -
nvkCreateSemaphore
public static long nvkCreateSemaphore(long struct) Unsafe version ofvkCreateSemaphore(). -
nvkDestroySemaphore
public static long nvkDestroySemaphore(long struct) Unsafe version ofvkDestroySemaphore(). -
nvkSignalSemaphore
public static long nvkSignalSemaphore(long struct) Unsafe version ofvkSignalSemaphore(). -
nvkGetSemaphoreCounterValue
public static long nvkGetSemaphoreCounterValue(long struct) Unsafe version ofvkGetSemaphoreCounterValue(). -
nvkGetCalibratedTimestampsEXT
public static long nvkGetCalibratedTimestampsEXT(long struct) Unsafe version ofvkGetCalibratedTimestampsEXT(). -
nvkGetPhysicalDeviceProperties
public static void nvkGetPhysicalDeviceProperties(long struct, long value) Unsafe version ofvkGetPhysicalDeviceProperties. -
nvkQueueSubmit
public static void nvkQueueSubmit(long struct, long value) Unsafe version ofvkQueueSubmit. -
nvkQueueWaitIdle
public static void nvkQueueWaitIdle(long struct, long value) Unsafe version ofvkQueueWaitIdle. -
nvkCreateQueryPool
public static void nvkCreateQueryPool(long struct, long value) Unsafe version ofvkCreateQueryPool. -
nvkDestroyQueryPool
public static void nvkDestroyQueryPool(long struct, long value) Unsafe version ofvkDestroyQueryPool. -
nvkResetQueryPool
public static void nvkResetQueryPool(long struct, long value) Unsafe version ofvkResetQueryPool. -
nvkGetQueryPoolResults
public static void nvkGetQueryPoolResults(long struct, long value) Unsafe version ofvkGetQueryPoolResults. -
nvkCmdWriteTimestamp
public static void nvkCmdWriteTimestamp(long struct, long value) Unsafe version ofvkCmdWriteTimestamp. -
nvkCreateSemaphore
public static void nvkCreateSemaphore(long struct, long value) Unsafe version ofvkCreateSemaphore. -
nvkDestroySemaphore
public static void nvkDestroySemaphore(long struct, long value) Unsafe version ofvkDestroySemaphore. -
nvkSignalSemaphore
public static void nvkSignalSemaphore(long struct, long value) Unsafe version ofvkSignalSemaphore. -
nvkGetSemaphoreCounterValue
public static void nvkGetSemaphoreCounterValue(long struct, long value) Unsafe version ofvkGetSemaphoreCounterValue. -
nvkGetCalibratedTimestampsEXT
public static void nvkGetCalibratedTimestampsEXT(long struct, long value) Unsafe version ofvkGetCalibratedTimestampsEXT. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-