Class RenderLayerDescription
The render layer description class.
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public class RenderLayerDescription : ILoadable, IDisposable, IDependencyObject
  Constructors
RenderLayerDescription()
Initializes a new instance of the RenderLayerDescription class.
Declaration
public RenderLayerDescription()
  Fields
Order
The layer order.
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 dependency list.
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 gets the render state of the layer.
Declaration
public RenderStateDescription RenderState { get; set; }
  Property Value
| Type | Description | 
|---|---|
| RenderStateDescription | 
Methods
Dispose()
Declaration
public void Dispose()
  GetHashCode()
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| int | 
Overrides
Invalidate(ILoadable)
Invalidates this instance and raise 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()
Release unused memory.
Declaration
public void ReleaseUnusedMemory()
  Events
Invalidated
Occurs when this instance has been invalidated and all references must be reloaded.
Declaration
public event EventHandler<ILoadable> Invalidated
  Event Type
| Type | Description | 
|---|---|
| EventHandler<ILoadable> | 
RenderLayerStateChanged
Event when any render state parameter changed
Declaration
public event EventHandler RenderLayerStateChanged
  Event Type
| Type | Description | 
|---|---|
| EventHandler |