Doxybook Example
|
#include <Framebuffer.hpp>
Public Member Functions | |
Framebuffer (int width, int height) | |
virtual | ~Framebuffer () |
int | getWidth () const override |
Returns the width of the texture in pixels. More... | |
int | getHeight () const override |
Returns the height of the texture in pixels. More... | |
int | getDepth () const override |
Returns the depth of the texture in pixels. More... | |
Public Member Functions inherited from Engine::Graphics::Texture | |
Texture (Type type) | |
virtual | ~Texture ()=default |
bool | isLoaded () const |
Additional Inherited Members | |
Public Types inherited from Engine::Graphics::Texture | |
enum class | Type { UNKNOWN = 0 , RGBA_8 , RGB_8 , RGBA_16 , RGB_16 , RGBA_32 , RGB_32 } |
Protected Member Functions inherited from Engine::Graphics::Handle | |
Handle ()=default | |
virtual | ~Handle ()=default |
int | getHandle () const |
Protected Attributes inherited from Engine::Graphics::Texture | |
bool | loaded {false} |
Type | type |
Protected Attributes inherited from Engine::Graphics::Handle | |
int | handle |
Engine::Graphics::Framebuffer::Framebuffer | ( | int | width, |
int | height | ||
) |
|
virtual |
|
overridevirtual |
Returns the depth of the texture in pixels.
Implements Engine::Graphics::Texture.
|
overridevirtual |
Returns the height of the texture in pixels.
Implements Engine::Graphics::Texture.
|
overridevirtual |
Returns the width of the texture in pixels.
Implements Engine::Graphics::Texture.