Files
eepp/src/graphics/cframebufferfbo.hpp
spartanj 89bb55df44 Restore on context lost vertex buffers and frame buffers.
Fixed some compiler warnings.
2010-09-09 16:44:31 -03:00

38 lines
685 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();
~cFrameBufferFBO();
cFrameBufferFBO( const Uint32& Width, const Uint32& Height, bool DepthBuffer = false );
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