Class VkPipelineExecutableStatisticValueKHR

All Implemented Interfaces:
Pointer

public class VkPipelineExecutableStatisticValueKHR extends Struct<VkPipelineExecutableStatisticValueKHR>

 union VkPipelineExecutableStatisticValueKHR {
     VkBool32 b32;
     int64_t i64;
     uint64_t u64;
     double f64;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int B32
      The struct member offsets.
    • I64

      public static final int I64
      The struct member offsets.
    • U64

      public static final int U64
      The struct member offsets.
    • F64

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

    • VkPipelineExecutableStatisticValueKHR

      public VkPipelineExecutableStatisticValueKHR(ByteBuffer container)
      Creates a VkPipelineExecutableStatisticValueKHR 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<VkPipelineExecutableStatisticValueKHR>
    • b32

      public boolean b32()
      Returns:
      the value of the b32 field.
    • i64

      public long i64()
      Returns:
      the value of the i64 field.
    • u64

      public long u64()
      Returns:
      the value of the u64 field.
    • f64

      public double f64()
      Returns:
      the value of the f64 field.
    • create

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

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

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

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

      public static int nb32(long struct)
      Unsafe version of b32().
    • ni64

      public static long ni64(long struct)
      Unsafe version of i64().
    • nu64

      public static long nu64(long struct)
      Unsafe version of u64().
    • nf64

      public static double nf64(long struct)
      Unsafe version of f64().