Class VkPerformanceCounterKHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPerformanceCounterKHR extends Struct<VkPerformanceCounterKHR> implements NativeResource

 struct VkPerformanceCounterKHR {
     VkStructureType sType;
     void * pNext;
     VkPerformanceCounterUnitKHR unit;
     VkPerformanceCounterScopeKHR scope;
     VkPerformanceCounterStorageKHR storage;
     uint8_t uuid[VK_UUID_SIZE];
 }
  • Field Details

    • SIZEOF

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

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

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • UNIT

      public static final int UNIT
      The struct member offsets.
    • SCOPE

      public static final int SCOPE
      The struct member offsets.
    • STORAGE

      public static final int STORAGE
      The struct member offsets.
    • UUID

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

    • VkPerformanceCounterKHR

      public VkPerformanceCounterKHR(ByteBuffer container)
      Creates a VkPerformanceCounterKHR 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