Classes |
Public Types |
Public Member Functions |
Public Attributes |
Protected Attributes |
List of all members
iv::Texture Class Reference
#include <Texture.hpp>
Classes | |
| struct | Metadata |
Public Types | |
| enum | Filtering { Filtering::Nearest, Filtering::SmoothMsdf, Filtering::Smooth2D, Filtering::Smooth3D } |
Public Member Functions | |
| Texture (Instance *inst) | |
| Instance * | instance () const |
| const Metadata & | metadata () const |
| const GlTexture * | gl_texture () const |
| Might be loaded with delay. Is unloaded when gpu is off. Is never nullptr. More... | |
| bool | hittest (int x, int y) const |
| Might be loaded with delay. More... | |
Public Attributes | |
| ClientMarker | cm |
Protected Attributes | |
| Metadata | _metadata |
| GlTexture | _gl_texture |
| std::vector< bool > | _hitmap |
Detailed Description
Definition at line 17 of file Texture.hpp.
Member Enumeration Documentation
◆ Filtering
|
strong |
| Enumerator | |
|---|---|
| Nearest | |
| SmoothMsdf | |
| Smooth2D | |
| Smooth3D | |
Definition at line 20 of file Texture.hpp.
Constructor & Destructor Documentation
◆ Texture()
| iv::Texture::Texture | ( | Instance * | inst | ) |
Definition at line 29 of file Texture.cpp.
Member Function Documentation
◆ instance()
| Instance * iv::Texture::instance | ( | ) | const |
Definition at line 38 of file Texture.cpp.
◆ metadata()
| const Texture::Metadata & iv::Texture::metadata | ( | ) | const |
Definition at line 43 of file Texture.cpp.
◆ gl_texture()
| const GlTexture * iv::Texture::gl_texture | ( | ) | const |
Might be loaded with delay. Is unloaded when gpu is off. Is never nullptr.
Definition at line 48 of file Texture.cpp.
◆ hittest()
| bool iv::Texture::hittest | ( | int | x, |
| int | y | ||
| ) | const |
Might be loaded with delay.
Definition at line 53 of file Texture.cpp.
Member Data Documentation
◆ cm
| ClientMarker iv::Texture::cm |
Definition at line 44 of file Texture.hpp.
◆ _metadata
|
protected |
Definition at line 54 of file Texture.hpp.
◆ _gl_texture
|
protected |
Definition at line 55 of file Texture.hpp.
◆ _hitmap
|
protected |
Definition at line 56 of file Texture.hpp.
The documentation for this class was generated from the following files:
- ivorium_graphics/Rendering/Texture.hpp
- ivorium_graphics/Rendering/Texture.cpp

