sculpto
|
#include <gl_frame_buffer.h>
Public Member Functions | |
void | SetFrameBufferProps (const frame_buffer_props &Props) |
const frame_buffer_props & | GetFrameBufferProps () const |
const shared< texture_2d > & | GetColorAttachment (int Index) const override |
const shared< texture_2d > & | GetDepthAttachment (int Index) const override |
render_primitive::handle | GetHandle () const override |
gl_frame_buffer (const frame_buffer_props &Props) | |
~gl_frame_buffer () override | |
void | Bind () const override |
void | Unbind () const override |
void | Resize (int Width, int Height) override |
void | Free () override |
void | Clear () override |
Public Member Functions inherited from scl::frame_buffer | |
virtual void | SetFrameBufferProps (const frame_buffer_props &Props)=0 |
virtual const frame_buffer_props & | GetFrameBufferProps () const =0 |
virtual const shared< texture_2d > & | GetColorAttachment (int Index=0) const =0 |
virtual const shared< texture_2d > & | GetDepthAttachment (int Index=0) const =0 |
virtual | ~frame_buffer ()=default |
virtual void | Bind () const =0 |
virtual void | Unbind () const =0 |
virtual void | Resize (int Width, int Height)=0 |
virtual void | Free ()=0 |
virtual void | Clear ()=0 |
Additional Inherited Members | |
Static Public Member Functions inherited from scl::frame_buffer | |
static shared< frame_buffer > | Create (const frame_buffer_props &Props) |
OpenGL frame buffer class.
Definition at line 18 of file gl_frame_buffer.h.
scl::gl_frame_buffer::gl_frame_buffer | ( | const frame_buffer_props & | Props | ) |
Props | - frame buffer properties. |
Definition at line 85 of file gl_frame_buffer.cpp.
|
override |
OpenGL frame buffer default destructor.
Definition at line 92 of file gl_frame_buffer.cpp.
|
overridevirtual |
None. |
Implements scl::frame_buffer.
Definition at line 97 of file gl_frame_buffer.cpp.
|
overridevirtual |
None. |
Implements scl::frame_buffer.
Definition at line 128 of file gl_frame_buffer.cpp.
|
overridevirtual |
None. |
Implements scl::frame_buffer.
Definition at line 115 of file gl_frame_buffer.cpp.
|
overridevirtual |
Frame buffer color attachment getter function.
Implements scl::frame_buffer.
Definition at line 25 of file gl_frame_buffer.cpp.
|
overridevirtual |
Frame buffer depth attachment getter function.
Implements scl::frame_buffer.
Definition at line 30 of file gl_frame_buffer.cpp.
|
virtual |
Frame buffer properties getter function.
Implements scl::frame_buffer.
Definition at line 20 of file gl_frame_buffer.cpp.
|
inlineoverride |
Backend api render primitive hadnle getter function.
Definition at line 48 of file gl_frame_buffer.h.
|
overridevirtual |
Width | - new frame buffer width. |
Height | - new frame buffer height. |
Implements scl::frame_buffer.
Definition at line 108 of file gl_frame_buffer.cpp.
|
virtual |
Frame buffer getter/setter functions.
Frame buffer properties setter function.
Implements scl::frame_buffer.
Definition at line 13 of file gl_frame_buffer.cpp.
|
overridevirtual |
None. |
Implements scl::frame_buffer.
Definition at line 103 of file gl_frame_buffer.cpp.