summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/graphics/shader_source.h
blob: b3e815c492304b4e6ceaef90a37161f77bd93781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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