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 Render
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 |
---|---|
Sort |
Properties
Dependencies
Gets the dependency list.
Declaration
public Lazy<List<IDependencyLink>> Dependencies { get; }
Property Value
Type | Description |
---|---|
Lazy<List<IDependency |
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 |
---|---|
Render |
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
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 |
---|---|
Event |
RenderLayerStateChanged
Event when any render state parameter changed
Declaration
public event EventHandler RenderLayerStateChanged
Event Type
Type | Description |
---|---|
Event |