C# Class MilkShakeFramework.Render.RenderManager

Inheritance: MilkShakeFramework.Core.Scenes.Components.SceneComponent
Afficher le fichier Open project: lucas-jones/MilkShake-old Class Usage Examples

Méthodes publiques

Méthode Description
Begin ( BlendState blendState ) : void
Begin ( Effect effect = null ) : void
Begin ( Effect effect, BlendState blend ) : void
Begin ( Matrix matrix ) : void
Draw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, Rectangle sourceRectangle ) : void
Draw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, Rectangle sourceRectangle, SpriteEffects spriteEffects ) : void
Draw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, Rectangle sourceRectangle, SpriteEffects spriteEffects, Color color, float rotation, Vector2 origin, Vector2 scale ) : void
Draw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, float rotation, Vector2 origin, Color color, float scaleX = 1, float scaleY = 1 ) : void
End ( ) : void
RawBegin ( ) : void
RawDraw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, Color color ) : void
RawDraw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, Rectangle sourceRectangle, SpriteEffects spriteEffects, Color color, float rotation, Vector2 origin, Vector2 scale ) : void
RawDraw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, float rotation, Vector2 origin, Color color, float scaleX = 1, float scaleY = 1 ) : void
RenderManager ( ) : System
SetRenderTarget ( RenderTarget2D renderTarget ) : void
cameraOffset ( ) : Vector2

Method Details

Begin() public méthode

public Begin ( BlendState blendState ) : void
blendState Microsoft.Xna.Framework.Graphics.BlendState
Résultat void

Begin() public méthode

public Begin ( Effect effect = null ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
Résultat void

Begin() public méthode

public Begin ( Effect effect, BlendState blend ) : void
effect Microsoft.Xna.Framework.Graphics.Effect
blend Microsoft.Xna.Framework.Graphics.BlendState
Résultat void

Begin() public méthode

public Begin ( Matrix matrix ) : void
matrix Matrix
Résultat void

Draw() public méthode

public Draw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, Rectangle sourceRectangle ) : void
position Vector2
texture Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
sourceRectangle Microsoft.Xna.Framework.Rectangle
Résultat void

Draw() public méthode

public Draw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, Rectangle sourceRectangle, SpriteEffects spriteEffects ) : void
position Vector2
texture Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
sourceRectangle Microsoft.Xna.Framework.Rectangle
spriteEffects SpriteEffects
Résultat void

Draw() public méthode

public Draw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, Rectangle sourceRectangle, SpriteEffects spriteEffects, Color color, float rotation, Vector2 origin, Vector2 scale ) : void
position Vector2
texture Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
sourceRectangle Microsoft.Xna.Framework.Rectangle
spriteEffects SpriteEffects
color Color
rotation float
origin Vector2
scale Vector2
Résultat void

Draw() public méthode

public Draw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, float rotation, Vector2 origin, Color color, float scaleX = 1, float scaleY = 1 ) : void
position Vector2
texture Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
rotation float
origin Vector2
color Color
scaleX float
scaleY float
Résultat void

End() public méthode

public End ( ) : void
Résultat void

RawBegin() public méthode

public RawBegin ( ) : void
Résultat void

RawDraw() public méthode

public RawDraw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, Color color ) : void
position Vector2
texture Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
color Color
Résultat void

RawDraw() public méthode

public RawDraw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, Rectangle sourceRectangle, SpriteEffects spriteEffects, Color color, float rotation, Vector2 origin, Vector2 scale ) : void
position Vector2
texture Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
sourceRectangle Microsoft.Xna.Framework.Rectangle
spriteEffects SpriteEffects
color Color
rotation float
origin Vector2
scale Vector2
Résultat void

RawDraw() public méthode

public RawDraw ( Vector2 position, Microsoft.Xna.Framework.Graphics.Texture2D texture, int width, int height, float rotation, Vector2 origin, Color color, float scaleX = 1, float scaleY = 1 ) : void
position Vector2
texture Microsoft.Xna.Framework.Graphics.Texture2D
width int
height int
rotation float
origin Vector2
color Color
scaleX float
scaleY float
Résultat void

RenderManager() public méthode

public RenderManager ( ) : System
Résultat System

SetRenderTarget() public méthode

public SetRenderTarget ( RenderTarget2D renderTarget ) : void
renderTarget Microsoft.Xna.Framework.Graphics.RenderTarget2D
Résultat void

cameraOffset() public méthode

public cameraOffset ( ) : Vector2
Résultat Vector2