From 71d19b8b97a65434f450cc60ed84de1dc28f30cc Mon Sep 17 00:00:00 2001 From: MeltyPlayer Date: Sat, 21 Dec 2024 22:14:43 -0600 Subject: [PATCH] Started setting up a type for building GLSL strings. --- .../Fin/Fin/src/shaders/glsl/GlslStringBuilder.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 FinModelUtility/Fin/Fin/src/shaders/glsl/GlslStringBuilder.cs diff --git a/FinModelUtility/Fin/Fin/src/shaders/glsl/GlslStringBuilder.cs b/FinModelUtility/Fin/Fin/src/shaders/glsl/GlslStringBuilder.cs new file mode 100644 index 000000000..cab3998ef --- /dev/null +++ b/FinModelUtility/Fin/Fin/src/shaders/glsl/GlslStringBuilder.cs @@ -0,0 +1,14 @@ +namespace fin.shaders.glsl; + +public interface IGlslStringBuilder { + void AddStruct(string text); + + void AddBuffer(); + + void AddUniform(string type, string name); + + void AddIn(string type, string name); + void AddOut(string type, string name); + + void AddMethod(string text); +} \ No newline at end of file