HORIZON HASKELLDocslts/ghc-9.14.x3e2d5682026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_NV_ray_tracing_linear_swept_spheres

Name

VK_NV_ray_tracing_linear_swept_spheres - device extension

VK_NV_ray_tracing_linear_swept_spheres

Name String

VK_NV_ray_tracing_linear_swept_spheres

Extension Type

Device extension

Registered Extension Number

430

Revision

1

Ratification Status

Not ratified

Extension and Version Dependencies

VK_KHR_ray_tracing_pipeline

SPIR-V Dependencies
Contact
Extension Proposal

VK_NV_ray_tracing_linear_swept_spheres

Other Extension Metadata

Last Modified Date

2025-01-03

Interactions and External Dependencies
Contributors
  • Vikram Kushwaha, NVIDIA

  • Eric Werness, NVIDIA

  • Daniel Koch, NVIDIA

  • Ashwin Lele, NVIDIA

  • Nathan Morrical, NVIDIA

Description

This extension adds two new primitives for ray tracing: a sphere primitive and a linear swept sphere (LSS) primitive. The purpose of the LSS primitive is to enable rendering of high quality hair and fur using a compact primitive representation encoded in the acceleration structure. Sphere primitives are defined by a position and a radius and are a subset of LSS, but are useful in their own right, for example for particle systems.

This extension adds support for the following SPIR-V extension in Vulkan:

  • SPV_NV_linear_swept_spheres

New Structures

New Enums

New Enum Constants

New or Modified Built-In Variables

New SPIR-V Capabilities

Version History

  • Revision 1, 2025-01-03 (Vikram Kushwaha)

    • Initial draft

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification.

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

  • 9 types
  • Packagevulkan-3.27
  • Exports22
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_NV_ray_tracing_linear_swept_spheres.hs

VkAccelerationStructureGeometryLinearSweptSpheresDataNV - Structure specifying a LSS geometry in a bottom-level acceleration structure

Description

If an index buffer is not specified in indexData, LSS primitives are rendered individually using subsequent pairs of vertices similar to PRIMITIVE_TOPOLOGY_LINE_LIST.

Valid Usage

Valid Usage (Implicit)

Structure Chaining

Extends the structure

See Also

VK_NV_ray_tracing_linear_swept_spheres, DeviceOrHostAddressConstKHR, DeviceSize, Format, IndexType, RayTracingLssIndexingModeNV, RayTracingLssPrimitiveEndCapsModeNV, StructureType

Constructors

Instances3Show, ToCStruct, Zero

VkAccelerationStructureGeometrySpheresDataNV - Structure specifying a sphere geometry in a bottom-level acceleration structure

Valid Usage

  • The spheres feature must be enabled

Valid Usage (Implicit)

Structure Chaining

Extends the structure

See Also

VK_NV_ray_tracing_linear_swept_spheres, DeviceOrHostAddressConstKHR, DeviceSize, Format, IndexType, StructureType

Constructors

Instances3Show, ToCStruct, Zero

VkPhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV - Structure describing the ray tracing linear swept spheres features that can be supported by an implementation

Members

This structure describes the following features:

Description

If the PhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. If the application wishes to use a Device with any features described by PhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV, it must add an instance of the structure, with the desired feature members set to TRUE, to the pNext chain of DeviceCreateInfo when creating the Device.

Structure Chaining

Extends the structures

See Also

VK_NV_ray_tracing_linear_swept_spheres, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
newtypenewtype RayTracingLssIndexingModeNV
#

VkRayTracingLssIndexingModeNV - LSS indexing mode

Description

  • RAY_TRACING_LSS_INDEXING_MODE_SUCCESSIVE_NV specifies a successive implicit indexing format, in which each LSS primitive is defined by two successive positions and radii, (k, k + 1), where k is a single index provided in the index buffer. In this indexing scheme, there is a 1:1 mapping between the index buffer and primitive index within the geometry.

See Also

VK_NV_ray_tracing_linear_swept_spheres, AccelerationStructureGeometryLinearSweptSpheresDataNV

Instances6Eq, Ord, Read, Show, Storable, Zero

VkRayTracingLssPrimitiveEndCapsModeNV - LSS endcaps mode

Description

See Also

VK_NV_ray_tracing_linear_swept_spheres, AccelerationStructureGeometryLinearSweptSpheresDataNV

Instances6Eq, Ord, Read, Show, Storable, Zero
newtypenewtype GeometryTypeKHR
#

VkGeometryTypeKHR - Enum specifying which type of geometry is provided

Description

See Also

VK_KHR_acceleration_structure, VK_NV_ray_tracing, AccelerationStructureGeometryKHR, GeometryNV

Instances6Eq, Ord, Read, Show, Storable, Zero