Class RMTVulkanFunctions

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class RMTVulkanFunctions extends Struct<RMTVulkanFunctions> implements NativeResource

 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;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • VKGETPHYSICALDEVICEPROPERTIES

      public static final int VKGETPHYSICALDEVICEPROPERTIES
      The struct member offsets.
    • VKQUEUESUBMIT

      public static final int VKQUEUESUBMIT
      The struct member offsets.
    • VKQUEUEWAITIDLE

      public static final int VKQUEUEWAITIDLE
      The struct member offsets.
    • VKCREATEQUERYPOOL

      public static final int VKCREATEQUERYPOOL
      The struct member offsets.
    • VKDESTROYQUERYPOOL

      public static final int VKDESTROYQUERYPOOL
      The struct member offsets.
    • VKRESETQUERYPOOL

      public static final int VKRESETQUERYPOOL
      The struct member offsets.
    • VKGETQUERYPOOLRESULTS

      public static final int VKGETQUERYPOOLRESULTS
      The struct member offsets.
    • VKCMDWRITETIMESTAMP

      public static final int VKCMDWRITETIMESTAMP
      The struct member offsets.
    • VKCREATESEMAPHORE

      public static final int VKCREATESEMAPHORE
      The struct member offsets.
    • VKDESTROYSEMAPHORE

      public static final int VKDESTROYSEMAPHORE
      The struct member offsets.
    • VKSIGNALSEMAPHORE

      public static final int VKSIGNALSEMAPHORE
      The struct member offsets.
    • VKGETSEMAPHORECOUNTERVALUE

      public static final int VKGETSEMAPHORECOUNTERVALUE
      The struct member offsets.
    • VKGETCALIBRATEDTIMESTAMPSEXT

      public static final int VKGETCALIBRATEDTIMESTAMPSEXT
      The struct member offsets.
  • Constructor Details

    • RMTVulkanFunctions

      public RMTVulkanFunctions(ByteBuffer container)
      Creates a RMTVulkanFunctions instance at the current position of the specified ByteBuffer 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
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<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

      public RMTVulkanFunctions vkGetPhysicalDeviceProperties(long value)
      Sets the specified value to the vkGetPhysicalDeviceProperties field.
    • vkQueueSubmit

      public RMTVulkanFunctions vkQueueSubmit(long value)
      Sets the specified value to the vkQueueSubmit field.
    • vkQueueWaitIdle

      public RMTVulkanFunctions vkQueueWaitIdle(long value)
      Sets the specified value to the vkQueueWaitIdle field.
    • vkCreateQueryPool

      public RMTVulkanFunctions vkCreateQueryPool(long value)
      Sets the specified value to the vkCreateQueryPool field.
    • vkDestroyQueryPool

      public RMTVulkanFunctions vkDestroyQueryPool(long value)
      Sets the specified value to the vkDestroyQueryPool field.
    • vkResetQueryPool

      public RMTVulkanFunctions vkResetQueryPool(long value)
      Sets the specified value to the vkResetQueryPool field.
    • vkGetQueryPoolResults

      public RMTVulkanFunctions vkGetQueryPoolResults(long value)
      Sets the specified value to the vkGetQueryPoolResults field.
    • vkCmdWriteTimestamp

      public RMTVulkanFunctions vkCmdWriteTimestamp(long value)
      Sets the specified value to the vkCmdWriteTimestamp field.
    • vkCreateSemaphore

      public RMTVulkanFunctions vkCreateSemaphore(long value)
      Sets the specified value to the vkCreateSemaphore field.
    • vkDestroySemaphore

      public RMTVulkanFunctions vkDestroySemaphore(long value)
      Sets the specified value to the vkDestroySemaphore field.
    • vkSignalSemaphore

      public RMTVulkanFunctions vkSignalSemaphore(long value)
      Sets the specified value to the vkSignalSemaphore field.
    • vkGetSemaphoreCounterValue

      public RMTVulkanFunctions vkGetSemaphoreCounterValue(long value)
      Sets the specified value to the vkGetSemaphoreCounterValue field.
    • vkGetCalibratedTimestampsEXT

      public RMTVulkanFunctions vkGetCalibratedTimestampsEXT(long value)
      Sets the specified value to the vkGetCalibratedTimestampsEXT 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

      public static RMTVulkanFunctions malloc()
      Returns a new RMTVulkanFunctions instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static RMTVulkanFunctions calloc()
      Returns a new RMTVulkanFunctions instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static RMTVulkanFunctions create()
      Returns a new RMTVulkanFunctions instance allocated with BufferUtils.
    • create

      public static RMTVulkanFunctions create(long address)
      Returns a new RMTVulkanFunctions instance for the specified memory address.
    • createSafe

      public static @Nullable RMTVulkanFunctions createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static RMTVulkanFunctions.Buffer malloc(int capacity)
      Returns a new RMTVulkanFunctions.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static RMTVulkanFunctions.Buffer calloc(int capacity)
      Returns a new RMTVulkanFunctions.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static RMTVulkanFunctions.Buffer create(int capacity)
      Returns a new RMTVulkanFunctions.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static RMTVulkanFunctions.Buffer create(long address, int capacity)
      Create a RMTVulkanFunctions.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable RMTVulkanFunctions.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static RMTVulkanFunctions malloc(MemoryStack stack)
      Returns a new RMTVulkanFunctions instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static RMTVulkanFunctions calloc(MemoryStack stack)
      Returns a new RMTVulkanFunctions instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static RMTVulkanFunctions.Buffer malloc(int capacity, MemoryStack stack)
      Returns a new RMTVulkanFunctions.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static RMTVulkanFunctions.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new RMTVulkanFunctions.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nvkGetPhysicalDeviceProperties

      public static long nvkGetPhysicalDeviceProperties(long struct)
    • nvkQueueSubmit

      public static long nvkQueueSubmit(long struct)
      Unsafe version of vkQueueSubmit().
    • nvkQueueWaitIdle

      public static long nvkQueueWaitIdle(long struct)
      Unsafe version of vkQueueWaitIdle().
    • nvkCreateQueryPool

      public static long nvkCreateQueryPool(long struct)
      Unsafe version of vkCreateQueryPool().
    • nvkDestroyQueryPool

      public static long nvkDestroyQueryPool(long struct)
      Unsafe version of vkDestroyQueryPool().
    • nvkResetQueryPool

      public static long nvkResetQueryPool(long struct)
      Unsafe version of vkResetQueryPool().
    • nvkGetQueryPoolResults

      public static long nvkGetQueryPoolResults(long struct)
      Unsafe version of vkGetQueryPoolResults().
    • nvkCmdWriteTimestamp

      public static long nvkCmdWriteTimestamp(long struct)
      Unsafe version of vkCmdWriteTimestamp().
    • nvkCreateSemaphore

      public static long nvkCreateSemaphore(long struct)
      Unsafe version of vkCreateSemaphore().
    • nvkDestroySemaphore

      public static long nvkDestroySemaphore(long struct)
      Unsafe version of vkDestroySemaphore().
    • nvkSignalSemaphore

      public static long nvkSignalSemaphore(long struct)
      Unsafe version of vkSignalSemaphore().
    • nvkGetSemaphoreCounterValue

      public static long nvkGetSemaphoreCounterValue(long struct)
      Unsafe version of vkGetSemaphoreCounterValue().
    • nvkGetCalibratedTimestampsEXT

      public static long nvkGetCalibratedTimestampsEXT(long struct)
    • nvkGetPhysicalDeviceProperties

      public static void nvkGetPhysicalDeviceProperties(long struct, long value)
    • nvkQueueSubmit

      public static void nvkQueueSubmit(long struct, long value)
      Unsafe version of vkQueueSubmit.
    • nvkQueueWaitIdle

      public static void nvkQueueWaitIdle(long struct, long value)
      Unsafe version of vkQueueWaitIdle.
    • nvkCreateQueryPool

      public static void nvkCreateQueryPool(long struct, long value)
      Unsafe version of vkCreateQueryPool.
    • nvkDestroyQueryPool

      public static void nvkDestroyQueryPool(long struct, long value)
      Unsafe version of vkDestroyQueryPool.
    • nvkResetQueryPool

      public static void nvkResetQueryPool(long struct, long value)
      Unsafe version of vkResetQueryPool.
    • nvkGetQueryPoolResults

      public static void nvkGetQueryPoolResults(long struct, long value)
      Unsafe version of vkGetQueryPoolResults.
    • nvkCmdWriteTimestamp

      public static void nvkCmdWriteTimestamp(long struct, long value)
      Unsafe version of vkCmdWriteTimestamp.
    • nvkCreateSemaphore

      public static void nvkCreateSemaphore(long struct, long value)
      Unsafe version of vkCreateSemaphore.
    • nvkDestroySemaphore

      public static void nvkDestroySemaphore(long struct, long value)
      Unsafe version of vkDestroySemaphore.
    • nvkSignalSemaphore

      public static void nvkSignalSemaphore(long struct, long value)
      Unsafe version of vkSignalSemaphore.
    • nvkGetSemaphoreCounterValue

      public static void nvkGetSemaphoreCounterValue(long struct, long value)
      Unsafe version of vkGetSemaphoreCounterValue.
    • nvkGetCalibratedTimestampsEXT

      public static void nvkGetCalibratedTimestampsEXT(long struct, long value)
      Unsafe version of vkGetCalibratedTimestampsEXT.
    • validate

      public static void validate(long struct)
      Validates pointer members that should not be NULL.
      Parameters:
      struct - the struct to validate