#ifndef __EFFEKSEERRENDERER_GL_RENDERSTATE_H__ #define __EFFEKSEERRENDERER_GL_RENDERSTATE_H__ //---------------------------------------------------------------------------------- // Include //---------------------------------------------------------------------------------- #include "../../EffekseerRendererCommon/EffekseerRenderer.RenderStateBase.h" #include "EffekseerRendererGL.Base.h" #include "EffekseerRendererGL.Renderer.h" //----------------------------------------------------------------------------------- // //----------------------------------------------------------------------------------- namespace EffekseerRendererGL { //----------------------------------------------------------------------------------- // //----------------------------------------------------------------------------------- class RenderState : public ::EffekseerRenderer::RenderStateBase { private: RendererImplemented* m_renderer; bool m_isCCW = true; std::array m_samplers; public: RenderState(RendererImplemented* renderer); virtual ~RenderState(); void Update(bool forced); }; //----------------------------------------------------------------------------------- // //----------------------------------------------------------------------------------- } // namespace EffekseerRendererGL //----------------------------------------------------------------------------------- // //----------------------------------------------------------------------------------- #endif // __EFFEKSEERRENDERER_GL_RENDERSTATE_H__