#pragma once

#include "CmD3D9Prerequisites.h"
#include "CmBuiltinMaterialManager.h"

namespace CamelotEngine
{
	/**
	 * @copydoc BuiltinMaterialManager
	 */
	class D3D9BuiltinMaterialManager : public BuiltinMaterialManager
	{
	public:
		HMaterial createSpriteTextMaterial() const;
		HMaterial createSpriteImageMaterial() const;

	protected:
		ShaderPtr mSpriteTextShader;
		ShaderPtr mSpriteImageShader;

		void onStartUp();

		void initSpriteTextShader();
		void initSpriteImageShader();
	};
}