/// <summary> /// Lead any resources needed by an Effect subclass. /// This function is called by Renderer.LoadResources() /// </summary> /// <param name="aRenderer">The Rendering object doing the calling.</param> /// <param name="aGeometry">The Geometry object that is to be rendered.</param> public virtual void LoadResources(Renderer aRenderer, Geometry aGeometry) { }
/// <summary> /// Release any resources that were loaded with LoadResources. /// This function is called by Renderer.ReleaseResources. /// </summary> /// <param name="aRenderer"></param> /// <param name="aGeometry"></param> public virtual void ReleaseResources(Renderer aRenderer, Geometry aGeometry) { }
public virtual void Draw(Geometry aGeometry) { }