Otclient
14/8/2020
|
#include <framebuffer.h>
Public Member Functions | |
virtual | ~FrameBuffer () |
void | resize (const Size &size) |
void | bind () |
void | release () |
void | draw () |
void | draw (const Rect &dest) |
void | draw (const Rect &dest, const Rect &src) |
void | setBackuping (bool enabled) |
void | setSmooth (bool enabled) |
TexturePtr | getTexture () |
Size | getSize () |
bool | isBackuping () |
bool | isSmooth () |
Public Member Functions inherited from stdext::shared_object | |
shared_object () | |
virtual | ~shared_object () |
void | add_ref () |
void | dec_ref () |
refcount_t | ref_count () |
template<typename T > | |
stdext::shared_object_ptr< T > | static_self_cast () |
template<typename T > | |
stdext::shared_object_ptr< T > | dynamic_self_cast () |
template<typename T > | |
stdext::shared_object_ptr< T > | const_self_cast () |
Protected Member Functions | |
FrameBuffer () | |
Friends | |
class | FrameBufferManager |
Definition at line 29 of file framebuffer.h.
|
protected |
Definition at line 32 of file framebuffer.cpp.
|
virtual |
void FrameBuffer::bind | ( | ) |
Definition at line 84 of file framebuffer.cpp.
void FrameBuffer::draw | ( | ) |
Definition at line 97 of file framebuffer.cpp.
void FrameBuffer::draw | ( | const Rect & | dest | ) |
Size FrameBuffer::getSize | ( | ) |
Definition at line 148 of file framebuffer.cpp.
|
inline |
Definition at line 49 of file framebuffer.h.
|
inline |
Definition at line 51 of file framebuffer.h.
|
inline |
Definition at line 52 of file framebuffer.h.
void FrameBuffer::release | ( | ) |
Definition at line 91 of file framebuffer.cpp.
void FrameBuffer::resize | ( | const Size & | size | ) |
Definition at line 57 of file framebuffer.cpp.
|
inline |
Definition at line 46 of file framebuffer.h.
|
inline |
Definition at line 47 of file framebuffer.h.
|
friend |
Definition at line 34 of file framebuffer.h.