Class VkPipelineCreationFeedback

All Implemented Interfaces:
Pointer
Direct Known Subclasses:
VkPipelineCreationFeedbackEXT

public class VkPipelineCreationFeedback extends Struct<VkPipelineCreationFeedback>

 struct VkPipelineCreationFeedback {
     VkPipelineCreationFeedbackFlags flags;
     uint64_t duration;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int FLAGS
      The struct member offsets.
    • DURATION

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

    • VkPipelineCreationFeedback

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

      public int flags()
      Returns:
      the value of the flags field.
    • duration

      public long duration()
      Returns:
      the value of the duration field.
    • create

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

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

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

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

      public static int nflags(long struct)
      Unsafe version of flags().
    • nduration

      public static long nduration(long struct)
      Unsafe version of duration().