C# Class RenderingLibrary.Graphics.SpriteBatchStack

Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Méthode Description
Begin ( ) : void
PopRenderStates ( ) : void
PushRenderStates ( SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect, Matrix transformMatrix, Rectangle scissorRectangle ) : void
ReplaceRenderStates ( SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect, Matrix transformMatrix, Rectangle scissorRectangle ) : void
SpriteBatchStack ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework

Private Methods

Méthode Description
AdjustCurrentParametersDrawCall ( Microsoft.Xna.Framework.Graphics.Texture2D texture, SpriteFont spriteFont, object objectRequestingChange ) : void
ClearPerformanceRecordingVariables ( ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color, float rotation, Vector2 vector2, SpriteEffects effects, int layerDepth, object objectRequestingChange ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color, object objectRequestingChange ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D, Vector2 position, Rectangle sourceRectangle, Color color, float rotation, Vector2 vector22, Vector2 scale, SpriteEffects effects, float depth, object objectRequestingChange ) : void
DrawString ( SpriteFont font, string line, Vector2 offset, Color color, object objectRequestingChange ) : void
End ( ) : void
RecordCurrentParameters ( ) : void
TryEnd ( ) : void

Method Details

Begin() public méthode

public Begin ( ) : void
Résultat void

PopRenderStates() public méthode

public PopRenderStates ( ) : void
Résultat void

PushRenderStates() public méthode

public PushRenderStates ( SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect, Matrix transformMatrix, Rectangle scissorRectangle ) : void
sortMode SpriteSortMode
blendState Microsoft.Xna.Framework.Graphics.BlendState
samplerState Microsoft.Xna.Framework.Graphics.SamplerState
depthStencilState Microsoft.Xna.Framework.Graphics.DepthStencilState
rasterizerState Microsoft.Xna.Framework.Graphics.RasterizerState
effect Microsoft.Xna.Framework.Graphics.Effect
transformMatrix Matrix
scissorRectangle Microsoft.Xna.Framework.Rectangle
Résultat void

ReplaceRenderStates() public méthode

public ReplaceRenderStates ( SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect, Matrix transformMatrix, Rectangle scissorRectangle ) : void
sortMode SpriteSortMode
blendState Microsoft.Xna.Framework.Graphics.BlendState
samplerState Microsoft.Xna.Framework.Graphics.SamplerState
depthStencilState Microsoft.Xna.Framework.Graphics.DepthStencilState
rasterizerState Microsoft.Xna.Framework.Graphics.RasterizerState
effect Microsoft.Xna.Framework.Graphics.Effect
transformMatrix Matrix
scissorRectangle Microsoft.Xna.Framework.Rectangle
Résultat void

SpriteBatchStack() public méthode

public SpriteBatchStack ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework
graphicsDevice GraphicsDevice
Résultat Microsoft.Xna.Framework