Class RenderLayerInfoPart
This class represent the Render Layer info asset part.
Inherited Members
Namespace: Evergine.Framework.Assets.AssetParts
Assembly: Evergine.Framework.dll
Syntax
public class RenderLayerInfoPart : AssetPart
Fields
Order
The render layer order.
Declaration
public int Order
Field Value
Type | Description |
---|---|
int |
RenderState
The render state description.
Declaration
public RenderStateDescription RenderState
Field Value
Type | Description |
---|---|
RenderStateDescription |
SortMode
The render layer sort mode.
Declaration
public SortMode SortMode
Field Value
Type | Description |
---|---|
SortMode |
Methods
FromRenderLayerDescription(RenderLayerDescription)
Create the asset part from an existing render layer.
Declaration
public static RenderLayerInfoPart FromRenderLayerDescription(RenderLayerDescription renderLayerDescription)
Parameters
Type | Name | Description |
---|---|---|
RenderLayerDescription | renderLayerDescription | The render layer description. |
Returns
Type | Description |
---|---|
RenderLayerInfoPart | The asset part. |
Read(BinaryReader)
Read this asset part.
Declaration
public static RenderLayerInfoPart Read(BinaryReader reader)
Parameters
Type | Name | Description |
---|---|---|
BinaryReader | reader | The binary reader. |
Returns
Type | Description |
---|---|
RenderLayerInfoPart | The loaded asset part. |
Write(BinaryWriter)
Writes the sub asset.
Declaration
public override void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The stream. |