Search Results for

    Show / Hide Table of Contents

    Class RenderLayerDescription

    The render layer description class.

    Inheritance
    object
    RenderLayerDescription
    Implements
    ILoadable
    IDependencyObject
    Namespace: Evergine.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public class RenderLayerDescription : ILoadable, IDependencyObject

    Constructors

    RenderLayerDescription()

    Initializes a new instance of the RenderLayerDescription class.

    Declaration
    public RenderLayerDescription()

    Fields

    Order

    The order of the layer.

    Declaration
    [RenderPropertyAsInput(-512, 511, AsSlider = true, DesiredChange = 1, DesiredLargeChange = 5)]
    public int Order
    Field Value
    Type Description
    int

    SortMode

    The sorting mode.

    Declaration
    public SortMode SortMode
    Field Value
    Type Description
    SortMode

    Properties

    Dependencies

    Gets the list of dependencies.

    Declaration
    public Lazy<List<IDependencyLink>> Dependencies { get; }
    Property Value
    Type Description
    Lazy<List<IDependencyLink>>

    Id

    Gets or sets the asset ID.

    Declaration
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid

    ReaderVersion

    Gets the reader version.

    Declaration
    public Version ReaderVersion { get; }
    Property Value
    Type Description
    Version

    RenderState

    Gets or sets the render state of the layer.

    Declaration
    public RenderStateDescription RenderState { get; set; }
    Property Value
    Type Description
    RenderStateDescription

    Methods

    Dispose()

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

    Declaration
    public void Dispose()

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()

    Invalidate(ILoadable)

    Invalidates this instance and raises the Invalidated event with the new ILoadable instance.

    Declaration
    public void Invalidate(ILoadable newInstance)
    Parameters
    Type Name Description
    ILoadable newInstance

    The new ILoadable instance.

    ReleaseUnusedMemory()

    Releases unused memory.

    Declaration
    public void ReleaseUnusedMemory()

    Events

    Invalidated

    Occurs when this instance is invalidated and all references must be reloaded.

    Declaration
    public event EventHandler<ILoadable> Invalidated
    Event Type
    Type Description
    EventHandler<ILoadable>

    RenderLayerStateChanged

    Event triggered when any render state parameter changes

    Declaration
    public event EventHandler RenderLayerStateChanged
    Event Type
    Type Description
    EventHandler

    Implements

    ILoadable
    IDependencyObject

    Extension Methods

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