Doxybook2 Example
Framebuffer.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Texture.hpp"
4 
5 namespace Engine {
6  namespace Graphics {
10  class Framebuffer : public Texture {
11  public:
12  Framebuffer(int width, int height);
13  virtual ~Framebuffer();
14 
15  int getWidth() const override;
16  int getHeight() const override;
17  int getDepth() const override;
18  };
19  } // namespace Graphics
20 } // namespace Engine
Engine::Graphics::Framebuffer
Definition: Framebuffer.hpp:10
Engine::Graphics::Framebuffer::getWidth
int getWidth() const override
Returns the width of the texture in pixels.
Texture.hpp
Engine::Graphics::Texture
This is a base texture class that serves as a base class for other texture types.
Definition: Texture.hpp:15
Engine
This namespace contains all of the necessary engine components.
Definition: Asset.hpp:5
Engine::Graphics::Framebuffer::~Framebuffer
virtual ~Framebuffer()
Engine::Graphics::Framebuffer::getDepth
int getDepth() const override
Returns the depth of the texture in pixels.
Engine::Graphics::Framebuffer::Framebuffer
Framebuffer(int width, int height)
Engine::Graphics::Framebuffer::getHeight
int getHeight() const override
Returns the height of the texture in pixels.