Class VKBottomLevelAS
Vulkan Bottom-Level Acceleration Structure implementation.
Inherited Members
Namespace: Evergine.Vulkan
Assembly: Evergine.Vulkan.dll
Syntax
public class VKBottomLevelAS : BottomLevelAS
Constructors
VKBottomLevelAS(VKGraphicsContext, VkCommandBuffer, ref BottomLevelASDescription)
Initializes a new instance of the VKBottomLevelAS class.
Declaration
public VKBottomLevelAS(VKGraphicsContext context, VkCommandBuffer commandBuffer, ref BottomLevelASDescription description)
Parameters
| Type | Name | Description |
|---|---|---|
| VKGraphicsContext | context | Graphics context. |
| VkCommandBuffer | commandBuffer | Command buffer. |
| BottomLevelASDescription | description | Bottom-level description. |
Fields
BottomLevelAS
The bottom-level acceleration structure instance.
Declaration
public VkAccelerationStructureKHR BottomLevelAS
Field Value
| Type | Description |
|---|---|
| VkAccelerationStructureKHR |
Properties
NativePointer
Gets the native pointer.
Declaration
public override nint NativePointer { get; }
Property Value
| Type | Description |
|---|---|
| nint |
Overrides
Methods
Destroy()
Destroy graphics native resources.
Declaration
protected override void Destroy()