Doxybook Example
Texture3D.hpp
Go to the documentation of this file.
1 #pragma once
2 #pragma once
3 
4 #include "Texture.hpp"
5 
6 namespace Engine {
7  namespace Graphics {
13  class Texture3D : public Texture {
14  public:
15  Texture3D(int width, int height, int depth, uint8_t* data, Texture::Type type = Texture::Type::RGBA8);
16  virtual ~Texture3D();
17 
18  int getWidth() const override;
19  int getHeight() const override;
20  int getDepth() const override;
21  };
22  } // namespace Graphics
23 } // namespace Engine
Some deprecated class.
Definition: Texture3D.hpp:13
Texture3D(int width, int height, int depth, uint8_t *data, Texture::Type type=Texture::Type::RGBA8)
int getHeight() const override
Returns the height of the texture in pixels.
int getDepth() const override
Returns the depth of the texture in pixels.
int getWidth() const override
Returns the width of the texture in pixels.
This is a base texture class that serves as a base class for other texture types.
Definition: Texture.hpp:15
Type
Definition: Texture.hpp:17
Type type
Definition: Texture.hpp:60
This namespace contains all of the necessary engine components.
Definition: Asset.hpp:5