Class VkDebugUtilsLabelEXT

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, PLABELNAME, COLOR

        The struct member offsets.
    • Constructor Detail

      • VkDebugUtilsLabelEXT

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

      • sizeof

        public int sizeof()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • sType

        public int sType()
        Returns the value of the sType field.
      • pNext

        public long pNext()
        Returns the value of the pNext field.
      • pLabelName

        public java.nio.ByteBuffer pLabelName()
        Returns a ByteBuffer view of the null-terminated string pointed to by the pLabelName field.
      • pLabelNameString

        public java.lang.String pLabelNameString()
        Decodes the null-terminated string pointed to by the pLabelName field.
      • color

        public java.nio.FloatBuffer color()
        Returns a FloatBuffer view of the color field.
      • color

        public float color​(int index)
        Returns the value at the specified index of the color field.
      • sType

        public VkDebugUtilsLabelEXT sType​(int value)
        Sets the specified value to the sType field.
      • pNext

        public VkDebugUtilsLabelEXT pNext​(long value)
        Sets the specified value to the pNext field.
      • pLabelName

        public VkDebugUtilsLabelEXT pLabelName​(java.nio.ByteBuffer value)
        Sets the address of the specified encoded string to the pLabelName field.
      • color

        public VkDebugUtilsLabelEXT color​(java.nio.FloatBuffer value)
        Copies the specified FloatBuffer to the color field.
      • color

        public VkDebugUtilsLabelEXT color​(int index,
                                          float value)
        Sets the specified value at the specified index of the color field.
      • set

        public VkDebugUtilsLabelEXT set​(int sType,
                                        long pNext,
                                        java.nio.ByteBuffer pLabelName,
                                        java.nio.FloatBuffer color)
        Initializes this struct with the specified values.
      • createSafe

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

        public static int nsType​(long struct)
        Unsafe version of sType().
      • npNext

        public static long npNext​(long struct)
        Unsafe version of pNext().
      • npLabelName

        public static java.nio.ByteBuffer npLabelName​(long struct)
        Unsafe version of pLabelName().
      • npLabelNameString

        public static java.lang.String npLabelNameString​(long struct)
        Unsafe version of pLabelNameString().
      • ncolor

        public static java.nio.FloatBuffer ncolor​(long struct)
        Unsafe version of color().
      • ncolor

        public static float ncolor​(long struct,
                                   int index)
        Unsafe version of color.
      • nsType

        public static void nsType​(long struct,
                                  int value)
        Unsafe version of sType.
      • npNext

        public static void npNext​(long struct,
                                  long value)
        Unsafe version of pNext.
      • npLabelName

        public static void npLabelName​(long struct,
                                       java.nio.ByteBuffer value)
        Unsafe version of pLabelName.
      • ncolor

        public static void ncolor​(long struct,
                                  java.nio.FloatBuffer value)
        Unsafe version of color.
      • ncolor

        public static void ncolor​(long struct,
                                  int index,
                                  float value)
        Unsafe version of color.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate
      • validate

        public static void validate​(long array,
                                    int count)
        Calls validate(long) for each struct contained in the specified struct array.
        Parameters:
        array - the struct array to validate
        count - the number of structs in array