C# Class RenderingLibrary.Graphics.SpriteBatchStack

ファイルを表示 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method 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

Method 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 method

public Begin ( ) : void
return void

PopRenderStates() public method

public PopRenderStates ( ) : void
return void

PushRenderStates() public method

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
return void

ReplaceRenderStates() public method

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
return void

SpriteBatchStack() public method

public SpriteBatchStack ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework
graphicsDevice GraphicsDevice
return Microsoft.Xna.Framework