summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/shader.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-04-02 08:47:15 +0800
committerchai <chaifix@163.com>2019-04-02 08:47:15 +0800
commit250e30d73f09e9da2b5a81d0fbae63744ae12a73 (patch)
tree0f55daf334c073e1779d7a1284799a2056aad714 /source/modules/asura-core/graphics/shader.cpp
parent66fe16dd5ed57ae958fc25158d0defae2e6fae6a (diff)
*misc
Diffstat (limited to 'source/modules/asura-core/graphics/shader.cpp')
-rw-r--r--source/modules/asura-core/graphics/shader.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/source/modules/asura-core/graphics/shader.cpp b/source/modules/asura-core/graphics/shader.cpp
index c0c6f75..f33fd1a 100644
--- a/source/modules/asura-core/graphics/shader.cpp
+++ b/source/modules/asura-core/graphics/shader.cpp
@@ -15,14 +15,14 @@ namespace AsuraEngine
}
- bool Shader::Load(const std::string& vertexShader, const std::string& fragmentShader)
+ bool Shader::Refresh(AEIO::DecodedData* db)
{
-
+ return false;
}
uint Shader::GetUniformLocation(const std::string& uniform)
{
-
+ return 0;
}
GLuint Shader::GetGLProgramHandle()
@@ -45,11 +45,6 @@ namespace AsuraEngine
}
- void Shader::SetUniformFloat(uint loc, float value)
- {
-
- }
-
void Shader::SetUniformTexture(uint loc, const Texture& texture)
{