Class VKTopLevelAS
Vulkan Top Level Acceleration Structure implementation.
Implements
Inherited Members
Namespace: Evergine.Vulkan
Assembly: Evergine.Vulkan.dll
Syntax
public class VKTopLevelAS : TopLevelAS, IDisposable
Constructors
VKTopLevelAS(VKGraphicsContext, VkCommandBuffer, ref TopLevelASDescription)
Initializes a new instance of the VKTopLevelAS class.
Declaration
public VKTopLevelAS(VKGraphicsContext context, VkCommandBuffer commandBuffer, ref TopLevelASDescription description)
Parameters
Type | Name | Description |
---|---|---|
VKGraphicsContext | context | DirectX12 Context. |
VkCommandBuffer | commandBuffer | Command buffer. |
TopLevelASDescription | description | Top Level Description. |
Fields
TopLevelAS
The top level acceleration structure instance.
Declaration
public VkAccelerationStructureKHR TopLevelAS
Field Value
Type | Description |
---|---|
VkAccelerationStructureKHR |
Properties
NativePointer
Gets the native pointer.
Declaration
public override IntPtr NativePointer { get; }
Property Value
Type | Description |
---|---|
IntPtr |
Overrides
Methods
Dispose()
Dispose this instance.
Declaration
public override void Dispose()
Overrides
UpdateAccelerationStructure(VkCommandBuffer, ref TopLevelASDescription)
Initializes a new instance of the VKTopLevelAS class.
Declaration
public void UpdateAccelerationStructure(VkCommandBuffer commandBuffer, ref TopLevelASDescription description)
Parameters
Type | Name | Description |
---|---|---|
VkCommandBuffer | commandBuffer | Command Buffer instance. |
TopLevelASDescription | description | New top level description. |