C# 클래스 RenderingLibrary.Graphics.SpriteBatchStack

파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

Begin() 공개 메소드

public Begin ( ) : void
리턴 void

PopRenderStates() 공개 메소드

public PopRenderStates ( ) : void
리턴 void

PushRenderStates() 공개 메소드

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
리턴 void

ReplaceRenderStates() 공개 메소드

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
리턴 void

SpriteBatchStack() 공개 메소드

public SpriteBatchStack ( GraphicsDevice graphicsDevice ) : Microsoft.Xna.Framework
graphicsDevice GraphicsDevice
리턴 Microsoft.Xna.Framework