Doxybook2 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 | Type { Type::UNKNOWN = 0, Type::RGBA_8, Type::RGB_8, Type::RGBA_16, Type::RGB_16, Type::RGBA_32, Type::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.