C# Class shader.Effect

Base class for effects
Inheritance: Drawable
Afficher le fichier Open project: SFML/SFML.Net Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( RenderTarget target, RenderStates states ) : void
SetFont ( Font font ) : void
Update ( float time, float x, float y ) : void

Méthodes protégées

Méthode Description
Effect ( string name ) : System
GetFont ( ) : Font
OnDraw ( RenderTarget target, RenderStates states ) : void
OnUpdate ( float time, float x, float y ) : void

Method Details

Draw() public méthode

public Draw ( RenderTarget target, RenderStates states ) : void
target RenderTarget
states SFML.Graphics.RenderStates
Résultat void

Effect() protected méthode

protected Effect ( string name ) : System
name string
Résultat System

GetFont() protected méthode

protected GetFont ( ) : Font
Résultat SFML.Graphics.Font

OnDraw() protected abstract méthode

protected abstract OnDraw ( RenderTarget target, RenderStates states ) : void
target RenderTarget
states SFML.Graphics.RenderStates
Résultat void

OnUpdate() protected abstract méthode

protected abstract OnUpdate ( float time, float x, float y ) : void
time float
x float
y float
Résultat void

SetFont() public static méthode

public static SetFont ( Font font ) : void
font SFML.Graphics.Font
Résultat void

Update() public méthode

public Update ( float time, float x, float y ) : void
time float
x float
y float
Résultat void