Class VkAccelerationStructureInfoNV

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

public class VkAccelerationStructureInfoNV extends org.lwjgl.system.Struct<VkAccelerationStructureInfoNV> implements org.lwjgl.system.NativeResource
Structure specifying the parameters of acceleration structure object.
Description

VkAccelerationStructureInfoNV contains information that is used both for acceleration structure creation with CreateAccelerationStructureNV and in combination with the actual geometric data to build the acceleration structure with CmdBuildAccelerationStructureNV.

Valid Usage
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV
  • pNext must be NULL
  • type must be a valid VkAccelerationStructureTypeKHR value
  • flags must be a valid combination of VkBuildAccelerationStructureFlagBitsNV values
  • If geometryCount is not 0, pGeometries must be a valid pointer to an array of geometryCount valid VkGeometryNV structures
See Also

VkAccelerationStructureCreateInfoNV, VkGeometryNV, CmdBuildAccelerationStructureNV

Layout


 struct VkAccelerationStructureInfoNV {
     VkStructureType sType();
     void const * pNext();
     VkAccelerationStructureTypeKHR type();
     VkBuildAccelerationStructureFlagsNV flags();
     uint32_t instanceCount();
     uint32_t geometryCount();
     VkGeometryNV const * pGeometries();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • TYPE

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

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

      public static final int INSTANCECOUNT
      The struct member offsets.
    • GEOMETRYCOUNT

      public static final int GEOMETRYCOUNT
      The struct member offsets.
    • PGEOMETRIES

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

    • VkAccelerationStructureInfoNV

      public VkAccelerationStructureInfoNV(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 Details