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.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct size in bytes.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The struct member offsets.static final int
The 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 aRMTVulkanFunctions
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic RMTVulkanFunctions
calloc()
Returns a newRMTVulkanFunctions
instance allocated withmemCalloc
.static RMTVulkanFunctions.Buffer
calloc
(int capacity) Returns a newRMTVulkanFunctions.Buffer
instance allocated withmemCalloc
.static RMTVulkanFunctions.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newRMTVulkanFunctions.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static RMTVulkanFunctions
calloc
(MemoryStack stack) Returns a newRMTVulkanFunctions
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static RMTVulkanFunctions
create()
Returns a newRMTVulkanFunctions
instance allocated withBufferUtils
.static RMTVulkanFunctions.Buffer
create
(int capacity) Returns a newRMTVulkanFunctions.Buffer
instance allocated withBufferUtils
.static RMTVulkanFunctions
create
(long address) Returns a newRMTVulkanFunctions
instance for the specified memory address.static RMTVulkanFunctions.Buffer
create
(long address, int capacity) Create aRMTVulkanFunctions.Buffer
instance at the specified memory.static @Nullable RMTVulkanFunctions
createSafe
(long address) static @Nullable RMTVulkanFunctions.Buffer
createSafe
(long address, int capacity) static RMTVulkanFunctions
malloc()
Returns a newRMTVulkanFunctions
instance allocated withmemAlloc
.static RMTVulkanFunctions.Buffer
malloc
(int capacity) Returns a newRMTVulkanFunctions.Buffer
instance allocated withmemAlloc
.static RMTVulkanFunctions.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newRMTVulkanFunctions.Buffer
instance allocated on the specifiedMemoryStack
.static RMTVulkanFunctions
malloc
(MemoryStack stack) Returns a newRMTVulkanFunctions
instance allocated on the specifiedMemoryStack
.static long
nvkCmdWriteTimestamp
(long struct) Unsafe version ofvkCmdWriteTimestamp()
.static void
nvkCmdWriteTimestamp
(long struct, long value) Unsafe version ofvkCmdWriteTimestamp
.static long
nvkCreateQueryPool
(long struct) Unsafe version ofvkCreateQueryPool()
.static void
nvkCreateQueryPool
(long struct, long value) Unsafe version ofvkCreateQueryPool
.static long
nvkCreateSemaphore
(long struct) Unsafe version ofvkCreateSemaphore()
.static void
nvkCreateSemaphore
(long struct, long value) Unsafe version ofvkCreateSemaphore
.static long
nvkDestroyQueryPool
(long struct) Unsafe version ofvkDestroyQueryPool()
.static void
nvkDestroyQueryPool
(long struct, long value) Unsafe version ofvkDestroyQueryPool
.static long
nvkDestroySemaphore
(long struct) Unsafe version ofvkDestroySemaphore()
.static void
nvkDestroySemaphore
(long struct, long value) Unsafe version ofvkDestroySemaphore
.static long
nvkGetCalibratedTimestampsEXT
(long struct) Unsafe version ofvkGetCalibratedTimestampsEXT()
.static void
nvkGetCalibratedTimestampsEXT
(long struct, long value) Unsafe version ofvkGetCalibratedTimestampsEXT
.static long
nvkGetPhysicalDeviceProperties
(long struct) Unsafe version ofvkGetPhysicalDeviceProperties()
.static void
nvkGetPhysicalDeviceProperties
(long struct, long value) Unsafe version ofvkGetPhysicalDeviceProperties
.static long
nvkGetQueryPoolResults
(long struct) Unsafe version ofvkGetQueryPoolResults()
.static void
nvkGetQueryPoolResults
(long struct, long value) Unsafe version ofvkGetQueryPoolResults
.static long
nvkGetSemaphoreCounterValue
(long struct) Unsafe version ofvkGetSemaphoreCounterValue()
.static void
nvkGetSemaphoreCounterValue
(long struct, long value) Unsafe version ofvkGetSemaphoreCounterValue
.static long
nvkQueueSubmit
(long struct) Unsafe version ofvkQueueSubmit()
.static void
nvkQueueSubmit
(long struct, long value) Unsafe version ofvkQueueSubmit
.static long
nvkQueueWaitIdle
(long struct) Unsafe version ofvkQueueWaitIdle()
.static void
nvkQueueWaitIdle
(long struct, long value) Unsafe version ofvkQueueWaitIdle
.static long
nvkResetQueryPool
(long struct) Unsafe version ofvkResetQueryPool()
.static void
nvkResetQueryPool
(long struct, long value) Unsafe version ofvkResetQueryPool
.static long
nvkSignalSemaphore
(long struct) Unsafe version ofvkSignalSemaphore()
.static void
nvkSignalSemaphore
(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.int
sizeof()
Returnssizeof(struct)
.static void
validate
(long struct) Validates pointer members that should not beNULL
.long
vkCmdWriteTimestamp
(long value) Sets the specified value to thevkCmdWriteTimestamp
field.long
vkCreateQueryPool
(long value) Sets the specified value to thevkCreateQueryPool
field.long
vkCreateSemaphore
(long value) Sets the specified value to thevkCreateSemaphore
field.long
vkDestroyQueryPool
(long value) Sets the specified value to thevkDestroyQueryPool
field.long
vkDestroySemaphore
(long value) Sets the specified value to thevkDestroySemaphore
field.long
vkGetCalibratedTimestampsEXT
(long value) Sets the specified value to thevkGetCalibratedTimestampsEXT
field.long
vkGetPhysicalDeviceProperties
(long value) Sets the specified value to thevkGetPhysicalDeviceProperties
field.long
vkGetQueryPoolResults
(long value) Sets the specified value to thevkGetQueryPoolResults
field.long
vkGetSemaphoreCounterValue
(long value) Sets the specified value to thevkGetSemaphoreCounterValue
field.long
vkQueueSubmit
(long value) Sets the specified value to thevkQueueSubmit
field.long
vkQueueWaitIdle
(long value) Sets the specified value to thevkQueueWaitIdle
field.long
vkResetQueryPool
(long value) Sets the specified value to thevkResetQueryPool
field.long
vkSignalSemaphore
(long value) Sets the specified value to thevkSignalSemaphore
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods 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 aRMTVulkanFunctions
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 Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<RMTVulkanFunctions>
-
vkGetPhysicalDeviceProperties
public long vkGetPhysicalDeviceProperties()- Returns:
- the value of the
vkGetPhysicalDeviceProperties
field.
-
vkQueueSubmit
public long vkQueueSubmit()- Returns:
- the value of the
vkQueueSubmit
field.
-
vkQueueWaitIdle
public long vkQueueWaitIdle()- Returns:
- the value of the
vkQueueWaitIdle
field.
-
vkCreateQueryPool
public long vkCreateQueryPool()- Returns:
- the value of the
vkCreateQueryPool
field.
-
vkDestroyQueryPool
public long vkDestroyQueryPool()- Returns:
- the value of the
vkDestroyQueryPool
field.
-
vkResetQueryPool
public long vkResetQueryPool()- Returns:
- the value of the
vkResetQueryPool
field.
-
vkGetQueryPoolResults
public long vkGetQueryPoolResults()- Returns:
- the value of the
vkGetQueryPoolResults
field.
-
vkCmdWriteTimestamp
public long vkCmdWriteTimestamp()- Returns:
- the value of the
vkCmdWriteTimestamp
field.
-
vkCreateSemaphore
public long vkCreateSemaphore()- Returns:
- the value of the
vkCreateSemaphore
field.
-
vkDestroySemaphore
public long vkDestroySemaphore()- Returns:
- the value of the
vkDestroySemaphore
field.
-
vkSignalSemaphore
public long vkSignalSemaphore()- Returns:
- the value of the
vkSignalSemaphore
field.
-
vkGetSemaphoreCounterValue
public long vkGetSemaphoreCounterValue()- Returns:
- the value of the
vkGetSemaphoreCounterValue
field.
-
vkGetCalibratedTimestampsEXT
public long vkGetCalibratedTimestampsEXT()- Returns:
- the value of the
vkGetCalibratedTimestampsEXT
field.
-
vkGetPhysicalDeviceProperties
Sets the specified value to thevkGetPhysicalDeviceProperties
field. -
vkQueueSubmit
Sets the specified value to thevkQueueSubmit
field. -
vkQueueWaitIdle
Sets the specified value to thevkQueueWaitIdle
field. -
vkCreateQueryPool
Sets the specified value to thevkCreateQueryPool
field. -
vkDestroyQueryPool
Sets the specified value to thevkDestroyQueryPool
field. -
vkResetQueryPool
Sets the specified value to thevkResetQueryPool
field. -
vkGetQueryPoolResults
Sets the specified value to thevkGetQueryPoolResults
field. -
vkCmdWriteTimestamp
Sets the specified value to thevkCmdWriteTimestamp
field. -
vkCreateSemaphore
Sets the specified value to thevkCreateSemaphore
field. -
vkDestroySemaphore
Sets the specified value to thevkDestroySemaphore
field. -
vkSignalSemaphore
Sets the specified value to thevkSignalSemaphore
field. -
vkGetSemaphoreCounterValue
Sets the specified value to thevkGetSemaphoreCounterValue
field. -
vkGetCalibratedTimestampsEXT
Sets the specified value to thevkGetCalibratedTimestampsEXT
field. -
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 newRMTVulkanFunctions
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newRMTVulkanFunctions
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newRMTVulkanFunctions
instance allocated withBufferUtils
. -
create
Returns a newRMTVulkanFunctions
instance for the specified memory address. -
createSafe
-
malloc
Returns a newRMTVulkanFunctions.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newRMTVulkanFunctions.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newRMTVulkanFunctions.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aRMTVulkanFunctions.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newRMTVulkanFunctions
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newRMTVulkanFunctions
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newRMTVulkanFunctions.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newRMTVulkanFunctions.Buffer
instance allocated on the specifiedMemoryStack
and 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
-