7#ifndef MYGUI_RENDER_MANAGER_H_
8#define MYGUI_RENDER_MANAGER_H_
59 const std::string& _shaderName,
60 const std::string& _vertexProgramFile,
61 const std::string& _fragmentProgramFile) = 0;
#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 void onFrameEvent(float _time)
virtual bool checkTexture(ITexture *_texture)
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 void onResizeView(const IntSize &_viewSize)
RenderManager(const RenderManager &)=delete
virtual void onRenderToTarget(IRenderTarget *_target, bool _update)
virtual bool isFormatSupported(PixelFormat _format, TextureUsage _usage)
virtual IVertexBuffer * createVertexBuffer()=0
types::TSize< int > IntSize