Doxybook 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
Definition: Framebuffer.hpp:10
int getDepth() const override
Returns the depth of the texture in pixels.
int getHeight() const override
Returns the height of the texture in pixels.
int getWidth() const override
Returns the width of the texture in pixels.
Framebuffer(int width, int height)
This is a base texture class that serves as a base class for other texture types.
Definition: Texture.hpp:15
This namespace contains all of the necessary engine components.
Definition: Asset.hpp:5