|
Doxybook2 Example
|
Some deprecated class. More...
#include <Texture3D.hpp>
Public Member Functions | |
| Texture3D (int width, int height, int depth, uint8_t *data, Texture::Type type=Texture::Type::RGBA8) | |
| virtual | ~Texture3D () |
| 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 |
Some deprecated class.
| Engine::Graphics::Texture3D::Texture3D | ( | int | width, |
| int | height, | ||
| int | depth, | ||
| uint8_t * | data, | ||
| Texture::Type | type = Texture::Type::RGBA8 |
||
| ) |
|
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.
1.8.17