C# Class Knot3.Framework.Effects.SimpleGLEffect

Inheritance: RenderEffect
Datei anzeigen Open project: knot3/knot3-code

Public Methods

Method Description
DrawModel ( GameModel model, GameTime time ) : void
DrawPrimitive ( GamePrimitive primitive, GameTime time ) : void
RemapModel ( Model model ) : void

Weist dem 3D-Modell den Cel-Shader zu.

SimpleGLEffect ( IScreen screen ) : System

Private Methods

Method Description
SetShaderParameters ( GameObject obj, GameTime time ) : void

Method Details

DrawModel() public method

public DrawModel ( GameModel model, GameTime time ) : void
model Knot3.Framework.Models.GameModel
time Microsoft.Xna.Framework.GameTime
return void

DrawPrimitive() public method

public DrawPrimitive ( GamePrimitive primitive, GameTime time ) : void
primitive Knot3.Framework.Models.GamePrimitive
time Microsoft.Xna.Framework.GameTime
return void

RemapModel() public method

Weist dem 3D-Modell den Cel-Shader zu.
public RemapModel ( Model model ) : void
model Microsoft.Xna.Framework.Graphics.Model
return void

SimpleGLEffect() public method

public SimpleGLEffect ( IScreen screen ) : System
screen IScreen
return System