05.01.2021
+ Bloom effect + PixelInformation + Many Summaries + Add-methods for CVectors + Exposure-Field in GenericCamera for HDR. ~ ColorAttachments now can have PixelInformation ~ Transformed MeshAttributes to a own class ~ Fixed the non-applying of transformations at texts ~ Added more information to the context ~ Improved Pipeline-Process. ~ Changed how Uniform takes arrays - Light system
This commit is contained in:
parent
9b917ac181
commit
4c18127c88
52 changed files with 697 additions and 373 deletions
|
|
@ -8,16 +8,33 @@ using System.Reflection;
|
|||
|
||||
namespace SM.OGL.Shaders
|
||||
{
|
||||
/// <summary>
|
||||
/// Holder for shader extensions
|
||||
/// </summary>
|
||||
public class ShaderExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Holds the extensions.
|
||||
/// </summary>
|
||||
public static Dictionary<string, ShaderFile> Extensions { get; private set; } =
|
||||
new Dictionary<string, ShaderFile>();
|
||||
|
||||
/// <summary>
|
||||
/// Adds extensions from the calling assembly
|
||||
/// </summary>
|
||||
/// <param name="prefix">Prefix for the added extensions.</param>
|
||||
/// <param name="path">Path, where the extensions are located.</param>
|
||||
public static void AddAssemblyExtensions(string prefix, string path)
|
||||
{
|
||||
AddAssemblyExtensions(prefix, Assembly.GetCallingAssembly(), path);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Adds extensions from the specific assembly
|
||||
/// </summary>
|
||||
/// <param name="prefix">Prefix for the added extensions.</param>
|
||||
/// <param name="assembly">The specific assembly</param>
|
||||
/// <param name="path">Path, where the extensions are located.</param>
|
||||
public static void AddAssemblyExtensions(string prefix, Assembly assembly, string path)
|
||||
{
|
||||
var paths = assembly.GetManifestResourceNames();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue