Class VkAccelerationStructureInfoNV

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, TYPE, FLAGS, INSTANCECOUNT, GEOMETRYCOUNT, PGEOMETRIES

        The struct member offsets.
    • Constructor Detail

      • VkAccelerationStructureInfoNV

        public VkAccelerationStructureInfoNV​(java.nio.ByteBuffer container)
        Creates a VkAccelerationStructureInfoNV 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.
      • type

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

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

        public int instanceCount()
        Returns the value of the instanceCount field.
      • geometryCount

        public int geometryCount()
        Returns the value of the geometryCount field.
      • malloc

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

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

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

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

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

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

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

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

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

        public static int ntype​(long struct)
        Unsafe version of type().
      • nflags

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

        public static int ninstanceCount​(long struct)
        Unsafe version of instanceCount().
      • ngeometryCount

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

        public static void ntype​(long struct,
                                 int value)
        Unsafe version of type.
      • nflags

        public static void nflags​(long struct,
                                  int value)
        Unsafe version of flags.
      • ninstanceCount

        public static void ninstanceCount​(long struct,
                                          int value)
        Unsafe version of instanceCount.
      • ngeometryCount

        public static void ngeometryCount​(long struct,
                                          int value)
        Sets the specified value to the geometryCount field of the specified struct.
      • 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