C# Class Artemis.Engine.Graphics.RenderOrder

Afficher le fichier Open project: ArtemisEngine/Artemis-Engine Class Usage Examples

Méthodes publiques

Méthode Description
AddRenderGroup ( string name, TraversalOptions options = TraversalOptions.Pre, bool skipDuplicates = true ) : void

Set the next render order action to render the group with the given name.

AddRenderItem ( string name, bool skipDuplicates = true ) : void

Set the next render order action to render the item with the given name.

AddSetRenderProperties ( SpriteBatchPropertiesPacket packet, bool ignoreDefaults = true, bool applyMatrix = false ) : void

Set the next render order action to set the render properties to the values in the given packet.

AddSetRenderProperties ( SpriteSortMode ssm = SpriteSortMode.Deferred, BlendState bs = null, SamplerState ss = null, DepthStencilState dss = null, RasterizerState rs = null, Effect e = null, Matrix m = null, bool ignoreDefaults = true, bool applyMatrix = false ) : void

Set the next render order action to set the render properties to the given values.

RenderOrder ( ) : System.Collections.Generic
RenderOrder ( List actions ) : System.Collections.Generic
SetNextAction ( AbstractRenderOrderAction action ) : void

Set the next render order action to the given IRenderOrderAction.

Method Details

AddRenderGroup() public méthode

Set the next render order action to render the group with the given name.
public AddRenderGroup ( string name, TraversalOptions options = TraversalOptions.Pre, bool skipDuplicates = true ) : void
name string
options TraversalOptions
skipDuplicates bool
Résultat void

AddRenderItem() public méthode

Set the next render order action to render the item with the given name.
public AddRenderItem ( string name, bool skipDuplicates = true ) : void
name string
skipDuplicates bool
Résultat void

AddSetRenderProperties() public méthode

Set the next render order action to set the render properties to the values in the given packet.
public AddSetRenderProperties ( SpriteBatchPropertiesPacket packet, bool ignoreDefaults = true, bool applyMatrix = false ) : void
packet SpriteBatchPropertiesPacket
ignoreDefaults bool
applyMatrix bool
Résultat void

AddSetRenderProperties() public méthode

Set the next render order action to set the render properties to the given values.
public AddSetRenderProperties ( SpriteSortMode ssm = SpriteSortMode.Deferred, BlendState bs = null, SamplerState ss = null, DepthStencilState dss = null, RasterizerState rs = null, Effect e = null, Matrix m = null, bool ignoreDefaults = true, bool applyMatrix = false ) : void
ssm SpriteSortMode
bs Microsoft.Xna.Framework.Graphics.BlendState
ss Microsoft.Xna.Framework.Graphics.SamplerState
dss Microsoft.Xna.Framework.Graphics.DepthStencilState
rs Microsoft.Xna.Framework.Graphics.RasterizerState
e Microsoft.Xna.Framework.Graphics.Effect
m Microsoft.Xna.Framework.Matrix
ignoreDefaults bool
applyMatrix bool
Résultat void

RenderOrder() public méthode

public RenderOrder ( ) : System.Collections.Generic
Résultat System.Collections.Generic

RenderOrder() public méthode

public RenderOrder ( List actions ) : System.Collections.Generic
actions List
Résultat System.Collections.Generic

SetNextAction() public méthode

Set the next render order action to the given IRenderOrderAction.
public SetNextAction ( AbstractRenderOrderAction action ) : void
action AbstractRenderOrderAction
Résultat void