/// <summary> /// Function to render a pass. /// </summary> /// <param name="pass">Pass that is to be rendered.</param> protected virtual void OnRenderPass(GorgonEffectPass pass) { if (pass.RenderAction != null) { pass.RenderAction(pass); } }
/// <summary> /// Function called after a pass has been rendered. /// </summary> /// <param name="pass">Pass that was rendered.</param> protected abstract void OnAfterPassRender(GorgonEffectPass pass);
/// <summary> /// Function called before a pass is rendered. /// </summary> /// <param name="pass">Pass to render.</param> /// <returns>TRUE to continue rendering, FALSE to stop.</returns> protected abstract bool OnBeforePassRender(GorgonEffectPass pass);