summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/shader_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-core/graphics/shader_source.h')
-rw-r--r--source/modules/asura-core/graphics/shader_source.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/source/modules/asura-core/graphics/shader_source.h b/source/modules/asura-core/graphics/shader_source.h
new file mode 100644
index 0000000..b3e815c
--- /dev/null
+++ b/source/modules/asura-core/graphics/shader_source.h
@@ -0,0 +1,30 @@
+#ifndef __ASURA_SHADER_SOURCE_H__
+#define __ASURA_SHADER_SOURCE_H__
+
+#include <string>
+
+#include <asura-utils/io/decoded_data.h>
+
+namespace AsuraEngine
+{
+ namespace Graphics
+ {
+
+ ///
+ /// Asura EngineʹõshaderԴ룬GLSL
+ ///
+ class ShaderSouce : public AEIO::DecodedData
+ {
+ public:
+ void Decode(AEIO::DataBuffer& buffer) override;
+
+ private:
+ std::string mVert;
+ std::string mFrag;
+
+ };
+
+ }
+}
+
+#endif \ No newline at end of file