|
gdk-graphics 0a0aef92e917cfbac53dffbc32c295e4de914093
|


Public Member Functions | |
| null_texture (const texture_data::view &aView, const wrap_mode aU, const wrap_mode aV) | |
| null_texture (std::size_t aWidth, std::size_t aHeight) | |
| void | hold_to (std::shared_ptr< const profile > pProfile) |
| virtual void | update_data (const texture_data::view &aView) override |
| replace the texture data with new data | |
| virtual void | update_data (const texture_data::view &aView, const std::size_t aOffsetX, const std::size_t aOffsetY) override |
| update a section of texture data | |
| std::size_t | width () const |
| std::size_t | height () const |
| std::size_t | upload_count () const |
| const texture_data::channel_data & | data () const |
| Public Member Functions inherited from gdk::graphics::texture | |
| virtual | ~texture ()=default |
| trivial destructor | |
Additional Inherited Members | |
| Public Types inherited from gdk::graphics::texture | |
| enum class | wrap_mode { clamped , repeat , mirrored } |
| behavior when sampling outside of the normalized texture range (u0-1, v0-1) More... | |
| enum class | filter_mode { sharp , smooth } |
| how a texel is chosen when a pixel does not land exactly on one More... | |
| using | format = texture_data::format |
| format of data in the component_type array. | |
| Protected Member Functions inherited from gdk::graphics::texture | |
| texture ()=default | |
| interface type cannot be instantiated | |
|
overridevirtual |
replace the texture data with new data
Implements gdk::graphics::texture.
|
overridevirtual |
update a section of texture data
| gdk::graphics::exception | the section is in another format than the texture, or not wholly within it |
Implements gdk::graphics::texture.