コード例 #1
0
 /// <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);
     }
 }
コード例 #2
0
 /// <summary>
 /// Function called after a pass has been rendered.
 /// </summary>
 /// <param name="pass">Pass that was rendered.</param>
 protected abstract void OnAfterPassRender(GorgonEffectPass pass);
コード例 #3
0
 /// <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);