Search Results for

    Show / Hide Table of Contents

    Class ResourceSet

    This class describes the elements within a ResourceLayout.

    Inheritance
    object
    ResourceSet
    DX11ResourceSet
    DX12ResourceSet
    MTLResourceSet
    GLResourceSet
    VKResourceSet
    WGPUResourceSet
    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public abstract class ResourceSet

    Constructors

    ResourceSet(ref ResourceSetDescription)

    Initializes a new instance of the ResourceSet class.

    Declaration
    public ResourceSet(ref ResourceSetDescription description)
    Parameters
    Type Name Description
    ResourceSetDescription description

    The ResourceSet description.

    Fields

    Description

    The description of the ResourceSet ResourceSetDescription.

    Declaration
    public readonly ResourceSetDescription Description
    Field Value
    Type Description
    ResourceSetDescription

    Properties

    Name

    Gets or sets a string identifying this instance. Can be used in graphics debugger tools.

    Declaration
    public abstract string Name { get; set; }
    Property Value
    Type Description
    string

    Methods

    CollectBarriers(List<Barrier>, List<Barrier>)

    Collects the resources used by this ResourceSetDescription, and adds them to the provided list. In this list we also store the resource type and the shader stages where the resource is used. We will use this list of used resources for performing the required transition barriers in explicit APIs such as Vulkan and DX12.

    Declaration
    public void CollectBarriers(List<Buffer.Barrier> bufferBarriers, List<Texture.Barrier> textureBarriers)
    Parameters
    Type Name Description
    List<Buffer.Barrier> bufferBarriers

    List of buffer barriers to be filled.

    List<Texture.Barrier> textureBarriers

    List of texture barriers to be filled.

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public abstract void Dispose()

    Extension Methods

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