+ WPF Support
This commit is contained in:
parent
6f23a80f7f
commit
41421b1df9
12 changed files with 94 additions and 14 deletions
|
|
@ -47,6 +47,9 @@ namespace SM.OGL.Shaders
|
|||
{
|
||||
var name =
|
||||
$"{prefix}{Path.GetFileNameWithoutExtension(filePath.Substring(path.Length)).Replace('.', '_')}";
|
||||
|
||||
if (Extensions.ContainsKey(name)) continue;
|
||||
|
||||
Extensions.Add(name, new ShaderFile(reader.ReadToEnd()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue