diff options
author | chai <chaifix@163.com> | 2021-10-29 15:02:46 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-29 15:02:46 +0800 |
commit | 796b4b05ec62eb5d58a634854998f485072e8a2b (patch) | |
tree | 30f188382f14b3b9c69fe5846262a39a8b4664cc /Runtime/Graphics/GfxDevice.h | |
parent | 91c32cb173201ac8803a1e4452e8342969b8e484 (diff) |
*passing texture to glsl
Diffstat (limited to 'Runtime/Graphics/GfxDevice.h')
-rw-r--r-- | Runtime/Graphics/GfxDevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Runtime/Graphics/GfxDevice.h b/Runtime/Graphics/GfxDevice.h index ef7788c..68cd6c0 100644 --- a/Runtime/Graphics/GfxDevice.h +++ b/Runtime/Graphics/GfxDevice.h @@ -67,6 +67,9 @@ public: void SetUniformVec3(const char* name, Internal::Vector3 vec3); void SetUniformVec4(const char* name, Internal::Vector4 vec4); void SetUniformMat4(const char* name, Internal::Matrix44 mat4); + void SetUniformTexture(const char* name, Texture* texture); + + void ResetUniformsState(); void BeginFrame(); void EndFrame(); |