Graphics::TextureBrush Class Referenceabstract
#include <Asset.h>
Inheritance diagram for Graphics::TextureBrush:
Collaboration diagram for Graphics::TextureBrush:
Public Member Functions | |
| TextureBrush (BrushStyle style) | |
| TextureBrush (AssetID id, BrushStyle style) | |
| virtual PixelFormat | getPixelFormat () const |
| virtual size_t | readPixels (const Location &loc, PixelFormat format, void *buffer, uint16_t width) const =0 |
| void | write (MetaWriter &meta) const override |
Public Member Functions inherited from Graphics::AssetTemplate< AssetType::TextureBrush > | |
| virtual Type | type () const override |
| Asset () | |
| Asset (ID id) | |
Public Member Functions inherited from Graphics::Asset | |
| Asset () | |
| Asset (ID id) | |
| bool | operator== (ID id) const |
| ID | id () const |
| virtual String | getTypeStr () const |
Public Member Functions inherited from LinkedObjectTemplate< Asset > | |
| Asset * | getNext () const |
| bool | insertAfter (Asset *object) |
| Iterator | begin () const |
| Iterator | end () const |
| Iterator | cbegin () const |
| Iterator | cend () const |
Public Member Functions inherited from LinkedObject | |
| virtual | ~LinkedObject ()=default |
| virtual LinkedObject * | next () const |
| bool | insertAfter (LinkedObject *object) |
| bool | operator== (const LinkedObject &other) const |
| bool | operator!= (const LinkedObject &other) const |
Protected Attributes | |
| BrushStyle | style |
Additional Inherited Members | |
Public Types inherited from Graphics::Asset | |
| enum class | Type { XX } |
| using | List = LinkedObjectListTemplate< Asset > |
| using | OwnedList = OwnedLinkedObjectListTemplate< Asset > |
| using | ID = AssetID |
Public Types inherited from LinkedObjectTemplate< Asset > | |
| using | Iterator = IteratorTemplate< Asset, Asset *, Asset & > |
| using | ConstIterator = IteratorTemplate< const Asset, const Asset *, const Asset & > |
Static Public Attributes inherited from Graphics::AssetTemplate< AssetType::TextureBrush > | |
| static constexpr Asset::Type | assetType |
Constructor & Destructor Documentation
◆ TextureBrush() [1/2]
|
inline |
◆ TextureBrush() [2/2]
|
inline |
Member Function Documentation
◆ getPixelFormat()
|
inlinevirtual |
Reimplemented in Graphics::ImageBrush.
◆ readPixels()
|
pure virtual |
Implemented in Graphics::ImageBrush, and Graphics::GradientBrush.
◆ write()
|
inlineoverridevirtual |
Reimplemented from Graphics::Asset.
Reimplemented in Graphics::ImageBrush, and Graphics::GradientBrush.
Member Data Documentation
◆ style
|
protected |
The documentation for this class was generated from the following file:
Public Member Functions inherited from
1.9.1