Files
eepp/src/graphics/cframebufferfbo.hpp
spartanj 896be4d28a Big changes here.
Created a backend system for the window-input management. So now it will be a los easier to port to another windows library/platform.
Since this is a big commit, it's probably that some bugs where introduced, but i tested all that i could, and it's working fine.
I'll probably add a cursor manager backend because right now there is no cursor management at all, i removed the CreateCursor function because it was unusable.
2011-02-09 03:30:05 -03:00

38 lines
735 B
C++

#ifndef EE_GRAPHICSCFRAMEBUFFERFBO_HPP
#define EE_GRAPHICSCFRAMEBUFFERFBO_HPP
#include "base.hpp"
#include "cframebuffer.hpp"
#include "ctexture.hpp"
namespace EE { namespace Graphics {
class EE_API cFrameBufferFBO : public cFrameBuffer {
public:
cFrameBufferFBO( cWindow * window = NULL );
~cFrameBufferFBO();
cFrameBufferFBO( const Uint32& Width, const Uint32& Height, bool DepthBuffer = false, cWindow * window = NULL );
bool Create( const Uint32& Width, const Uint32& Height );
bool Create( const Uint32& Width, const Uint32& Height, bool DepthBuffer );
void Bind();
void Unbind();
void Reload();
static bool IsSupported();
protected:
Int32 mFrameBuffer;
Uint32 mDepthBuffer;
};
}}
#endif