Class VkAcquireProfilingLockInfoKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkAcquireProfilingLockInfoKHR
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying parameters to acquire the profiling lock.
    Valid Usage (Implicit)

    If timeout is 0, vkAcquireProfilingLockKHR will not block while attempting to acquire the profling lock. If timeout is UINT64_MAX, the function will not return until the profiling lock was acquired.

    See Also

    AcquireProfilingLockKHR

    Layout

    
     struct VkAcquireProfilingLockInfoKHR {
         VkStructureType sType();
         void const * pNext();
         VkAcquireProfilingLockFlagsKHR flags();
         uint64_t timeout();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS, TIMEOUT

        The struct member offsets.
    • Constructor Detail

      • VkAcquireProfilingLockInfoKHR

        public VkAcquireProfilingLockInfoKHR​(java.nio.ByteBuffer container)
        Creates a VkAcquireProfilingLockInfoKHR 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.