7#ifndef MYGUI_RENDER_MANAGER_H_
8#define MYGUI_RENDER_MANAGER_H_
58 const std::string& _shaderName,
59 const std::string& _vertexProgramFile,
60 const std::string& _fragmentProgramFile) = 0;
62#if MYGUI_DEBUG_MODE == 1
64 virtual bool checkTexture(
ITexture* _texture);
68 virtual void onResizeView(
const IntSize& _viewSize);
69 virtual void onRenderToTarget(
IRenderTarget* _target,
bool _update);
70 virtual void onFrameEvent(
float _time);
#define MYGUI_SINGLETON_DECLARATION(ClassName)
virtual const IntSize & getViewSize() const =0
virtual ITexture * getTexture(const std::string &_name)=0
virtual VertexColourType getVertexFormat() const =0
virtual ITexture * createTexture(const std::string &_name)=0
virtual ~RenderManager()=default
virtual void setViewSize(int _width, int _height)=0
virtual void destroyVertexBuffer(IVertexBuffer *_buffer)=0
virtual void destroyTexture(ITexture *_texture)=0
virtual void registerShader(const std::string &_shaderName, const std::string &_vertexProgramFile, const std::string &_fragmentProgramFile)=0
virtual IVertexBuffer * createVertexBuffer()=0