Search Results for

    Show / Hide Table of Contents

    Class VKTopLevelAS

    Vulkan Top Level Acceleration Structure implementation.

    Inheritance
    object
    GraphicsResource
    TopLevelAS
    VKTopLevelAS
    Implements
    IDisposable
    Inherited Members
    TopLevelAS.Description
    GraphicsResource.disposed
    GraphicsResource.Context
    GraphicsResource.Disposed
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    GraphicsResource.NativePointer

    Methods

    Dispose()

    Dispose this instance.

    Declaration
    public override void Dispose()
    Overrides
    GraphicsResource.Dispose()

    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.

    Implements

    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX