C# Class Myre.Graphics.Deferred.Ssao

Inheritance: RendererComponent
Show file Open project: martindevans/Myre

Public Methods

Method Description
Draw ( Renderer renderer ) : void
Initialise ( Renderer renderer, ResourceContext context ) : void
Ssao ( GraphicsDevice device ) : System

Private Methods

Method Description
GenerateRandomNormals ( GraphicsDevice device, int width, int height, Random rand ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

Draw() public method

public Draw ( Renderer renderer ) : void
renderer Renderer
return void

Initialise() public method

public Initialise ( Renderer renderer, ResourceContext context ) : void
renderer Renderer
context ResourceContext
return void

Ssao() public method

public Ssao ( GraphicsDevice device ) : System
device GraphicsDevice
return System