C# Class RTSEngine.Graphics.ParticleRenderer

Mostra file Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
DrawAlerts ( GraphicsDevice g ) : void
DrawBloods ( GraphicsDevice g ) : void
DrawBullets ( GraphicsDevice g ) : void
DrawFire ( GraphicsDevice g ) : void
DrawLightning ( GraphicsDevice g ) : void
Load ( RTSRenderer renderer, ParticleOptions o ) : void
ParticleRenderer ( Effect fx, ParticleEffectConfig peConf ) : System
SetAlerts ( GraphicsDevice g ) : void
SetBloods ( GraphicsDevice g ) : void
SetBullets ( GraphicsDevice g ) : void
SetFire ( GraphicsDevice g ) : void
SetLightning ( GraphicsDevice g ) : void
SetupAll ( GraphicsDevice g, Matrix mVP, float t, Microsoft.Xna.Framework.Graphics.Texture2D tFOW ) : void
Update ( List newParticles, float dt ) : void

Private Methods

Method Description
BuildAlertModel ( RTSRenderer renderer ) : void
BuildBloodModel ( RTSRenderer renderer ) : void
BuildFireModel ( RTSRenderer renderer, int div ) : void
BuildLightningModel ( RTSRenderer renderer ) : void
LoadBulletModel ( RTSRenderer renderer, Stream s, ParsingFlags pf = ParsingFlags.ConversionOpenGL ) : void
LoadBulletTexture ( RTSRenderer renderer, string f ) : void
LoadFireShader ( RTSRenderer renderer, string fNoise, string fColor, string fAlpha ) : void
LoadLightningShader ( RTSRenderer renderer, string fLMap, int splits ) : void

Method Details

DrawAlerts() public method

public DrawAlerts ( GraphicsDevice g ) : void
g GraphicsDevice
return void

DrawBloods() public method

public DrawBloods ( GraphicsDevice g ) : void
g GraphicsDevice
return void

DrawBullets() public method

public DrawBullets ( GraphicsDevice g ) : void
g GraphicsDevice
return void

DrawFire() public method

public DrawFire ( GraphicsDevice g ) : void
g GraphicsDevice
return void

DrawLightning() public method

public DrawLightning ( GraphicsDevice g ) : void
g GraphicsDevice
return void

Load() public method

public Load ( RTSRenderer renderer, ParticleOptions o ) : void
renderer RTSRenderer
o ParticleOptions
return void

ParticleRenderer() public method

public ParticleRenderer ( Effect fx, ParticleEffectConfig peConf ) : System
fx Microsoft.Xna.Framework.Graphics.Effect
peConf ParticleEffectConfig
return System

SetAlerts() public method

public SetAlerts ( GraphicsDevice g ) : void
g GraphicsDevice
return void

SetBloods() public method

public SetBloods ( GraphicsDevice g ) : void
g GraphicsDevice
return void

SetBullets() public method

public SetBullets ( GraphicsDevice g ) : void
g GraphicsDevice
return void

SetFire() public method

public SetFire ( GraphicsDevice g ) : void
g GraphicsDevice
return void

SetLightning() public method

public SetLightning ( GraphicsDevice g ) : void
g GraphicsDevice
return void

SetupAll() public method

public SetupAll ( GraphicsDevice g, Matrix mVP, float t, Microsoft.Xna.Framework.Graphics.Texture2D tFOW ) : void
g GraphicsDevice
mVP Matrix
t float
tFOW Microsoft.Xna.Framework.Graphics.Texture2D
return void

Update() public method

public Update ( List newParticles, float dt ) : void
newParticles List
dt float
return void