1.0.14
NUGET-Changes: + Materials now have a method to draw. That should allow more freedom on how materials can have a effect on the resulting shader. ~ PostProcessEffect.Draw now needs a source ColorAttachment. ~ Added some missing summaries GIT-/SOLUTION-Changes: Remade the folder structure, to something more senseable.
This commit is contained in:
parent
db7f01dca1
commit
89de4258e1
181 changed files with 584 additions and 698 deletions
|
|
@ -1,38 +0,0 @@
|
|||
#region usings
|
||||
|
||||
using System;
|
||||
|
||||
#endregion
|
||||
|
||||
namespace SM.Base.Utility
|
||||
{
|
||||
/// <summary>
|
||||
/// Utility-Functions that are too small for a own class.
|
||||
/// </summary>
|
||||
public class Util
|
||||
{
|
||||
/// <summary>
|
||||
/// Activates a <see cref="IInitializable"/>
|
||||
/// </summary>
|
||||
/// <param name="obj"></param>
|
||||
public static void Activate(IInitializable obj)
|
||||
{
|
||||
if (!obj.IsInitialized)
|
||||
{
|
||||
obj.Initialization();
|
||||
obj.IsInitialized = true;
|
||||
}
|
||||
|
||||
obj.Activate();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Calls a garbage collector.
|
||||
/// </summary>
|
||||
public static void CallGarbageCollector()
|
||||
{
|
||||
GC.Collect();
|
||||
GC.WaitForPendingFinalizers();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue