C# Class NewTOAPIA.Modeling.Effect

Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
Draw ( Renderer aRenderer, Spacial aSpacial, int min, int max, VisibleObject aVisual ) : void
LoadResources ( Renderer aRenderer, Geometry aGeometry ) : void

Lead any resources needed by an Effect subclass. This function is called by Renderer.LoadResources()

ReleaseResources ( Renderer aRenderer, Geometry aGeometry ) : void

Release any resources that were loaded with LoadResources. This function is called by Renderer.ReleaseResources.

Method Details

Draw() public method

public Draw ( Renderer aRenderer, Spacial aSpacial, int min, int max, VisibleObject aVisual ) : void
aRenderer Renderer
aSpacial Spacial
min int
max int
aVisual VisibleObject
return void

LoadResources() public method

Lead any resources needed by an Effect subclass. This function is called by Renderer.LoadResources()
public LoadResources ( Renderer aRenderer, Geometry aGeometry ) : void
aRenderer Renderer The Rendering object doing the calling.
aGeometry Geometry The Geometry object that is to be rendered.
return void

ReleaseResources() public method

Release any resources that were loaded with LoadResources. This function is called by Renderer.ReleaseResources.
public ReleaseResources ( Renderer aRenderer, Geometry aGeometry ) : void
aRenderer Renderer
aGeometry Geometry
return void