Class VkImageViewASTCDecodeModeEXT

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, DECODEMODE

        The struct member offsets.
    • Constructor Detail

      • VkImageViewASTCDecodeModeEXT

        public VkImageViewASTCDecodeModeEXT​(java.nio.ByteBuffer container)
        Creates a VkImageViewASTCDecodeModeEXT 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()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • sType

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

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

        public int decodeMode()
        Returns the value of the decodeMode field.
      • set

        public VkImageViewASTCDecodeModeEXT set​(int sType,
                                                long pNext,
                                                int decodeMode)
        Initializes this struct with the specified values.
      • malloc

        public static VkImageViewASTCDecodeModeEXT malloc()
        Returns a new VkImageViewASTCDecodeModeEXT instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

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

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

        public static VkImageViewASTCDecodeModeEXT create​(long address)
        Returns a new VkImageViewASTCDecodeModeEXT instance for the specified memory address.
      • mallocStack

        public static VkImageViewASTCDecodeModeEXT mallocStack()
        Returns a new VkImageViewASTCDecodeModeEXT instance allocated on the thread-local MemoryStack.
      • callocStack

        public static VkImageViewASTCDecodeModeEXT callocStack()
        Returns a new VkImageViewASTCDecodeModeEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.
      • mallocStack

        public static VkImageViewASTCDecodeModeEXT mallocStack​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkImageViewASTCDecodeModeEXT instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • callocStack

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

        public static VkImageViewASTCDecodeModeEXT.Buffer callocStack​(int capacity,
                                                                      org.lwjgl.system.MemoryStack stack)
        Returns a new VkImageViewASTCDecodeModeEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nsType

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

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

        public static int ndecodeMode​(long struct)
        Unsafe version of decodeMode().
      • 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.
      • ndecodeMode

        public static void ndecodeMode​(long struct,
                                       int value)
        Unsafe version of decodeMode.