summaryrefslogtreecommitdiff
path: root/Source/modules/asura-framework/scripts/graphics/shaderHelper.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Source/modules/asura-framework/scripts/graphics/shaderHelper.lua')
-rw-r--r--Source/modules/asura-framework/scripts/graphics/shaderHelper.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/modules/asura-framework/scripts/graphics/shaderHelper.lua b/Source/modules/asura-framework/scripts/graphics/shaderHelper.lua
new file mode 100644
index 0000000..b1b42a6
--- /dev/null
+++ b/Source/modules/asura-framework/scripts/graphics/shaderHelper.lua
@@ -0,0 +1,14 @@
+--[[
+解析vertex shader和 fragment shader,并取得两个shader里面定义的uniforms
+]]
+local helper = {}
+
+function helper.GetUniforms(vert, frag)
+
+end
+
+function helper.TryCompileShader(vert, frag)
+
+end
+
+return helper \ No newline at end of file