Type
Definition: Texture.hpp:17
Definition: Texture2D.hpp:10
int getHeight() const override
Returns the height 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 type
Definition: Texture.hpp:60
int getDepth() const override
Returns the depth of the texture in pixels.
Texture2D(int width, int height, uint8_t *data, Texture::Type type=Texture::Type::RGBA8)