Added missing summeries #1
This commit is contained in:
parent
03d99ea28e
commit
8665b5b709
104 changed files with 1165 additions and 821 deletions
|
|
@ -1,19 +1,15 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
#region usings
|
||||
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics.OpenGL4;
|
||||
using SM.Base;
|
||||
using SM.Base.Objects.Static;
|
||||
using SM.Base.Scene;
|
||||
using SM.Base.Windows;
|
||||
using SM.OGL.Framebuffer;
|
||||
using SM.OGL.Shaders;
|
||||
using SM.Base.Window;
|
||||
|
||||
#endregion
|
||||
|
||||
namespace SM.Base.PostProcess
|
||||
{
|
||||
/// <summary>
|
||||
/// Basis for a post process effect
|
||||
/// Basis for a post process effect
|
||||
/// </summary>
|
||||
public abstract class PostProcessEffect
|
||||
{
|
||||
|
|
@ -22,7 +18,7 @@ namespace SM.Base.PostProcess
|
|||
protected RenderPipeline Pipeline;
|
||||
|
||||
/// <summary>
|
||||
/// Initialize the effect.
|
||||
/// Initialize the effect.
|
||||
/// </summary>
|
||||
/// <param name="pipeline"></param>
|
||||
public void Initilize(RenderPipeline pipeline)
|
||||
|
|
@ -30,24 +26,25 @@ namespace SM.Base.PostProcess
|
|||
Pipeline = pipeline;
|
||||
InitProcess();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Method, to initialize the shader.
|
||||
/// </summary>
|
||||
protected virtual void InitProcess() {}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Method to draw the actual effect.
|
||||
/// Method, to initialize the shader.
|
||||
/// </summary>
|
||||
protected virtual void InitProcess()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Method to draw the actual effect.
|
||||
/// </summary>
|
||||
public abstract void Draw(DrawContext context);
|
||||
|
||||
/// <summary>
|
||||
/// Event, when the scene changed.
|
||||
/// Event, when the scene changed.
|
||||
/// </summary>
|
||||
public virtual void SceneChanged(GenericScene scene)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue