C# Class Artemis.Engine.Graphics.RenderOrder.SetRenderProperties

A RenderOrderAction indicating to set the render properties to the given values.
Inheritance: AbstractRenderOrderAction
Mostra file Open project: ArtemisEngine/Artemis-Engine Class Usage Examples

Public Properties

Property Type Description
ApplyMatrix bool
IgnoreDefaults bool
Packet SpriteBatchPropertiesPacket

Public Methods

Method Description
SetRenderProperties ( SpriteBatchPropertiesPacket packet, bool ignoreDefaults = true, bool applyMatrix = false ) : System.Collections.Generic
SetRenderProperties ( 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 ) : System.Collections.Generic

Method Details

SetRenderProperties() public method

public SetRenderProperties ( SpriteBatchPropertiesPacket packet, bool ignoreDefaults = true, bool applyMatrix = false ) : System.Collections.Generic
packet SpriteBatchPropertiesPacket
ignoreDefaults bool
applyMatrix bool
return System.Collections.Generic

SetRenderProperties() public method

public SetRenderProperties ( 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 ) : System.Collections.Generic
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
return System.Collections.Generic

Property Details

ApplyMatrix public_oe property

public bool ApplyMatrix
return bool

IgnoreDefaults public_oe property

If this is true, and a property in the packet is set to it's default value, then it is ignored and is not set. This is useful if you have a property that's locked
public bool IgnoreDefaults
return bool

Packet public_oe property

The properties to apply.
public SpriteBatchPropertiesPacket Packet
return SpriteBatchPropertiesPacket