Search Results for

    Show / Hide Table of Contents

    Class VKTopLevelAS

    Implementation of Vulkan Top-Level Acceleration Structure.

    Inheritance
    object
    GraphicsResource
    TopLevelAS
    VKTopLevelAS
    Inherited Members
    TopLevelAS.Description
    GraphicsResource.Context
    GraphicsResource.Disposed
    GraphicsResource.Dispose()
    GraphicsResource.Dispose(bool)
    Namespace: Evergine.Vulkan
    Assembly: Evergine.Vulkan.dll
    Syntax
    public class VKTopLevelAS : TopLevelAS

    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

    DirectX 12 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 nint NativePointer { get; }
    Property Value
    Type Description
    nint
    Overrides
    GraphicsResource.NativePointer

    Methods

    Destroy()

    Destroy graphics native resources.

    Declaration
    protected override void Destroy()
    Overrides
    GraphicsResource.Destroy()

    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.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX