Class StdVideoH265ProfileTierLevelFlags

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<StdVideoH265ProfileTierLevelFlags>
org.lwjgl.vulkan.video.StdVideoH265ProfileTierLevelFlags
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class StdVideoH265ProfileTierLevelFlags extends org.lwjgl.system.Struct<StdVideoH265ProfileTierLevelFlags> implements org.lwjgl.system.NativeResource

Layout


 struct StdVideoH265ProfileTierLevelFlags {
     uint32_t general_tier_flag : 1;
     uint32_t general_progressive_source_flag : 1;
     uint32_t general_interlaced_source_flag : 1;
     uint32_t general_non_packed_constraint_flag : 1;
     uint32_t general_frame_only_constraint_flag : 1;
 }
  • Field Details

    • SIZEOF

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

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

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

    • StdVideoH265ProfileTierLevelFlags

      public StdVideoH265ProfileTierLevelFlags(ByteBuffer container)
      Creates a StdVideoH265ProfileTierLevelFlags 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()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<StdVideoH265ProfileTierLevelFlags>
    • general_tier_flag

      public boolean general_tier_flag()
      Returns:
      the value of the general_tier_flag field.
    • general_progressive_source_flag

      public boolean general_progressive_source_flag()
      Returns:
      the value of the general_progressive_source_flag field.
    • general_interlaced_source_flag

      public boolean general_interlaced_source_flag()
      Returns:
      the value of the general_interlaced_source_flag field.
    • general_non_packed_constraint_flag

      public boolean general_non_packed_constraint_flag()
      Returns:
      the value of the general_non_packed_constraint_flag field.
    • general_frame_only_constraint_flag

      public boolean general_frame_only_constraint_flag()
      Returns:
      the value of the general_frame_only_constraint_flag field.
    • general_tier_flag

      public StdVideoH265ProfileTierLevelFlags general_tier_flag(boolean value)
      Sets the specified value to the general_tier_flag field.
    • general_progressive_source_flag

      public StdVideoH265ProfileTierLevelFlags general_progressive_source_flag(boolean value)
      Sets the specified value to the general_progressive_source_flag field.
    • general_interlaced_source_flag

      public StdVideoH265ProfileTierLevelFlags general_interlaced_source_flag(boolean value)
      Sets the specified value to the general_interlaced_source_flag field.
    • general_non_packed_constraint_flag

      public StdVideoH265ProfileTierLevelFlags general_non_packed_constraint_flag(boolean value)
      Sets the specified value to the general_non_packed_constraint_flag field.
    • general_frame_only_constraint_flag

      public StdVideoH265ProfileTierLevelFlags general_frame_only_constraint_flag(boolean value)
      Sets the specified value to the general_frame_only_constraint_flag field.
    • set

      public StdVideoH265ProfileTierLevelFlags set(boolean general_tier_flag, boolean general_progressive_source_flag, boolean general_interlaced_source_flag, boolean general_non_packed_constraint_flag, boolean general_frame_only_constraint_flag)
      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 StdVideoH265ProfileTierLevelFlags malloc()
      Returns a new StdVideoH265ProfileTierLevelFlags instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

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

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

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

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

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

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

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

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

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

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

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

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

      public static StdVideoH265ProfileTierLevelFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
      Returns a new StdVideoH265ProfileTierLevelFlags.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
    • nbitfield0

      public static int nbitfield0(long struct)
    • ngeneral_tier_flag

      public static int ngeneral_tier_flag(long struct)
      Unsafe version of general_tier_flag().
    • ngeneral_progressive_source_flag

      public static int ngeneral_progressive_source_flag(long struct)
    • ngeneral_interlaced_source_flag

      public static int ngeneral_interlaced_source_flag(long struct)
    • ngeneral_non_packed_constraint_flag

      public static int ngeneral_non_packed_constraint_flag(long struct)
    • ngeneral_frame_only_constraint_flag

      public static int ngeneral_frame_only_constraint_flag(long struct)
    • nbitfield0

      public static void nbitfield0(long struct, int value)
    • ngeneral_tier_flag

      public static void ngeneral_tier_flag(long struct, int value)
      Unsafe version of general_tier_flag.
    • ngeneral_progressive_source_flag

      public static void ngeneral_progressive_source_flag(long struct, int value)
    • ngeneral_interlaced_source_flag

      public static void ngeneral_interlaced_source_flag(long struct, int value)
    • ngeneral_non_packed_constraint_flag

      public static void ngeneral_non_packed_constraint_flag(long struct, int value)
    • ngeneral_frame_only_constraint_flag

      public static void ngeneral_frame_only_constraint_flag(long struct, int value)