Otclient  14/8/2020
FrameBuffer Class Reference

#include <framebuffer.h>

Inheritance diagram for FrameBuffer:
Collaboration diagram for FrameBuffer:

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
 

Detailed Description

Definition at line 29 of file framebuffer.h.

Constructor & Destructor Documentation

◆ FrameBuffer()

FrameBuffer::FrameBuffer ( )
protected

Definition at line 32 of file framebuffer.cpp.

◆ ~FrameBuffer()

FrameBuffer::~FrameBuffer ( )
virtual

Definition at line 48 of file framebuffer.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ bind()

void FrameBuffer::bind ( )

Definition at line 84 of file framebuffer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw() [1/3]

void FrameBuffer::draw ( )

Definition at line 97 of file framebuffer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw() [2/3]

void FrameBuffer::draw ( const Rect dest)

Definition at line 108 of file framebuffer.cpp.

Here is the call graph for this function:

◆ draw() [3/3]

void FrameBuffer::draw ( const Rect dest,
const Rect src 
)

Definition at line 103 of file framebuffer.cpp.

Here is the call graph for this function:

◆ getSize()

Size FrameBuffer::getSize ( )

Definition at line 148 of file framebuffer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTexture()

TexturePtr FrameBuffer::getTexture ( )
inline

Definition at line 49 of file framebuffer.h.

◆ isBackuping()

bool FrameBuffer::isBackuping ( )
inline

Definition at line 51 of file framebuffer.h.

◆ isSmooth()

bool FrameBuffer::isSmooth ( )
inline

Definition at line 52 of file framebuffer.h.

◆ release()

void FrameBuffer::release ( )

Definition at line 91 of file framebuffer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resize()

void FrameBuffer::resize ( const Size size)

Definition at line 57 of file framebuffer.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setBackuping()

void FrameBuffer::setBackuping ( bool  enabled)
inline

Definition at line 46 of file framebuffer.h.

◆ setSmooth()

void FrameBuffer::setSmooth ( bool  enabled)
inline

Definition at line 47 of file framebuffer.h.

Friends And Related Function Documentation

◆ FrameBufferManager

friend class FrameBufferManager
friend

Definition at line 34 of file framebuffer.h.


The documentation for this class was generated from the following files: