Class VkAccelerationStructureCreateInfoNVX

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkAccelerationStructureCreateInfoNVX
    extends Struct
    implements NativeResource
    Structure specifying the parameters of a newly created acceleration structure object.
    Valid Usage
    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NVX
    • pNext must be NULL
    • type must be a valid VkAccelerationStructureTypeNVX value
    • flags must be a valid combination of VkBuildAccelerationStructureFlagBitsNVX values
    • If geometryCount is not 0, pGeometries must be a valid pointer to an array of geometryCount valid VkGeometryNVX structures
    See Also

    VkGeometryNVX, CreateAccelerationStructureNVX

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • type – a VkAccelerationStructureTypeBitsNVX value that specifies the type of acceleration structure that will be created.
    • flags – a set of VkBuildAccelerationStructureFlagBitsNVX values that specify additional parameters of the acceleration structure.
    • compactedSize – the size from the result of CmdWriteAccelerationStructurePropertiesNVX, if this acceleration structure is going to be the target of compacting copy.
    • instanceCount – specifies the number of instances that will be in the new acceleration structure
    • geometryCount – specifies the number of geometries that will be in the new acceleration structure
    • pGeometries – an array of VkGeometryNVX structures which contain the scene data being passed into the acceleration structure.

    Layout

    
     struct VkAccelerationStructureCreateInfoNVX {
         VkStructureType sType;
         void const * pNext;
         VkAccelerationStructureTypeNVX type;
         VkBuildAccelerationStructureFlagsNVX flags;
         VkDeviceSize compactedSize;
         uint32_t instanceCount;
         uint32_t geometryCount;
         VkGeometryNVX const * pGeometries;
     }