#include <Texture.hpp>
Public Member Functions | |
| Metadata () | |
Public Attributes | |
| int2 | size |
| Physical size. It is better to take size from here, rather than from texture, because this does not need to read the file iself. More... | |
| float | density |
| Number of physical pixels in a virtual pixel. More... | |
| Filtering | filtering |
| PixelFormat | format |
| ColorSpace | color_space |
| float | msdf_pixelRange |
| Only used when rendering this as msdf texture. More... | |
| bool | hitmap |
| If the texture will be pixel-precisely hit-tested. If this is disabled, then pixel-precise hittest will return always true. More... | |
| bool | instant_loading |
| Enabled for resources that are used on loading screens - they load instantly, so they don't queue in loading screen queues. More... | |
Detailed Description
Definition at line 28 of file Texture.hpp.
Constructor & Destructor Documentation
◆ Metadata()
| iv::Texture::Metadata::Metadata | ( | ) |
Definition at line 17 of file Texture.cpp.
Member Data Documentation
◆ size
| int2 iv::Texture::Metadata::size |
Physical size. It is better to take size from here, rather than from texture, because this does not need to read the file iself.
Definition at line 30 of file Texture.hpp.
◆ density
| float iv::Texture::Metadata::density |
Number of physical pixels in a virtual pixel.
Definition at line 31 of file Texture.hpp.
◆ filtering
| Filtering iv::Texture::Metadata::filtering |
Definition at line 32 of file Texture.hpp.
◆ format
| PixelFormat iv::Texture::Metadata::format |
Definition at line 33 of file Texture.hpp.
◆ color_space
| ColorSpace iv::Texture::Metadata::color_space |
Definition at line 34 of file Texture.hpp.
◆ msdf_pixelRange
| float iv::Texture::Metadata::msdf_pixelRange |
Only used when rendering this as msdf texture.
Definition at line 35 of file Texture.hpp.
◆ hitmap
| bool iv::Texture::Metadata::hitmap |
If the texture will be pixel-precisely hit-tested. If this is disabled, then pixel-precise hittest will return always true.
Definition at line 37 of file Texture.hpp.
◆ instant_loading
| bool iv::Texture::Metadata::instant_loading |
Enabled for resources that are used on loading screens - they load instantly, so they don't queue in loading screen queues.
Definition at line 38 of file Texture.hpp.
The documentation for this struct was generated from the following files:
- ivorium_graphics/Rendering/Texture.hpp
- ivorium_graphics/Rendering/Texture.cpp

