Package org.lwjgl.vulkan
Class KHRRayTracingPositionFetch
java.lang.Object
org.lwjgl.vulkan.KHRRayTracingPositionFetch
VK_KHR_ray_tracing_position_fetch adds the ability to fetch the vertex positions in the shader from a hit triangle as stored in the acceleration structure.
An application adds BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR to the acceleration structure at build time. Then, if the hit is a triangle geometry, the shader (any-hit or closest hit for ray pipelines or using ray query) can fetch the three, three-component vertex positions in object space, of the triangle which was hit.
- Name String
VK_KHR_ray_tracing_position_fetch- Extension Type
- Device extension
- Registered Extension Number
- 482
- Revision
- 1
- Extension and Version Dependencies
VK_KHR_acceleration_structure- SPIR-V Dependencies
- Contact
- Eric Werness
- Extension Proposal
- VK_KHR_ray_tracing_position_fetch
Other Extension Metadata
- Last Modified Date
- 2023-02-17
- Interactions and External Dependencies
- This extension provides API support for
GLSL_EXT_ray_tracing_position_fetch - Interacts with
VK_KHR_ray_tracing_pipeline - Interacts with
VK_KHR_ray_query
- This extension provides API support for
- Contributors
- Eric Werness, NVIDIA
- Stu Smith, AMD
- Yuriy O’Donnell, Epic Games
- Ralph Potter, Samsung
- Joshua Barczak, Intel
- Lionel Landwerlin, Intel
- Andrew Garrard, Imagination Technologies
- Alex Bourd, Qualcomm
- Yunpeng Zhu, Huawei Technologies
- Marius Bjorge, Arm
- Daniel Koch, NVIDIA
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtendsVkBuildAccelerationStructureFlagBitsKHR.static final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType. -
Method Summary
-
Field Details
-
VK_KHR_RAY_TRACING_POSITION_FETCH_SPEC_VERSION
public static final int VK_KHR_RAY_TRACING_POSITION_FETCH_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_RAY_TRACING_POSITION_FETCH_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHRExtendsVkStructureType.- See Also:
-
VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR
public static final int VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHRExtendsVkBuildAccelerationStructureFlagBitsKHR.- See Also:
-