#include <StreamTexture.hpp>
Public Member Functions | |
| StreamTexture (Instance *inst, StreamResourceProvider const *provider, StreamTexture_Subprovider const *subprovider, ResourcePath const &path) | |
| virtual | ~StreamTexture () |
| Instance * | instance () const |
Public Member Functions inherited from iv::Texture | |
| 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 |
Public Attributes inherited from iv::Texture | |
| ClientMarker | cm |
Protected Member Functions | |
| virtual void | GlEnable () override |
| virtual void | GlDisable () override |
| virtual void | GlDrop () override |
| virtual void | Load () override |
| GlMinFiltering | min_filtering () |
| GlMagFiltering | mag_filtering () |
Protected Member Functions inherited from iv::GlListener | |
| GlListener (Instance *inst) | |
| ~GlListener () | |
Protected Member Functions inherited from iv::GlInfo | |
| GlInfo (Instance *inst) | |
| Instance * | instance () const |
| bool | GlIsEnabled () const |
| RenderTarget * | render_target () const |
Protected Member Functions inherited from iv::DelayedLoad | |
| void | RequestDelayedLoad (int complexity_bytes) |
| DelayedLoad (Instance *inst) | |
| ~DelayedLoad () | |
| Instance * | instance () const |
| void | LoadNow () |
Additional Inherited Members | |
Public Types inherited from iv::Texture | |
| enum | Filtering { Filtering::Nearest, Filtering::SmoothMsdf, Filtering::Smooth2D, Filtering::Smooth3D } |
Protected Attributes inherited from iv::Texture | |
| Metadata | _metadata |
| GlTexture | _gl_texture |
| std::vector< bool > | _hitmap |
Protected Attributes inherited from iv::DelayedLoad | |
| ClientMarker | cm |
Detailed Description
Definition at line 37 of file StreamTexture.hpp.
Constructor & Destructor Documentation
◆ StreamTexture()
| iv::StreamTexture::StreamTexture | ( | Instance * | inst, |
| StreamResourceProvider const * | provider, | ||
| StreamTexture_Subprovider const * | subprovider, | ||
| ResourcePath const & | path | ||
| ) |
Disable delayed_loading in resources used in loading screens (we don't want to load loading screen resource during loading).
Definition at line 122 of file StreamTexture.cpp.
◆ ~StreamTexture()
|
virtual |
Definition at line 143 of file StreamTexture.cpp.
Member Function Documentation
◆ GlEnable()
|
overrideprotectedvirtual |
Implements iv::GlListener.
Definition at line 149 of file StreamTexture.cpp.
◆ GlDisable()
|
overrideprotectedvirtual |
Implements iv::GlListener.
Definition at line 166 of file StreamTexture.cpp.
◆ GlDrop()
|
overrideprotectedvirtual |
Implements iv::GlListener.
Definition at line 173 of file StreamTexture.cpp.
◆ Load()
|
overrideprotectedvirtual |
Implements iv::DelayedLoad.
Definition at line 180 of file StreamTexture.cpp.
◆ min_filtering()
|
protected |
Definition at line 222 of file StreamTexture.cpp.
◆ mag_filtering()
|
protected |
Definition at line 234 of file StreamTexture.cpp.
◆ instance()
| Instance * iv::Texture::instance |
Definition at line 38 of file Texture.cpp.
Member Data Documentation
◆ cm
| ClientMarker iv::StreamTexture::cm |
Definition at line 41 of file StreamTexture.hpp.
The documentation for this class was generated from the following files:
- ivorium_graphics/FreeImage/StreamTexture.hpp
- ivorium_graphics/FreeImage/StreamTexture.cpp

Public Member Functions inherited from 