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 |
![]() | |
virtual Type | type () const override |
Asset () | |
Asset (ID id) | |
![]() | |
Asset () | |
Asset (ID id) | |
bool | operator== (ID id) const |
ID | id () const |
virtual Type | type () const =0 |
virtual String | getTypeStr () const |
![]() | |
Asset * | getNext () const |
bool | insertAfter (Asset *object) |
Iterator | begin () const |
Iterator | end () const |
Iterator | cbegin () const |
Iterator | cend () const |
![]() | |
virtual | ~LinkedObject () |
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 | |
![]() | |
enum | Type { Type::XX } |
using | List = LinkedObjectListTemplate< Asset > |
using | OwnedList = OwnedLinkedObjectListTemplate< Asset > |
using | ID = AssetID |
![]() | |
using | Iterator = IteratorTemplate< Asset, Asset *, Asset & > |
using | ConstIterator = IteratorTemplate< const Asset, const Asset *, const Asset & > |
![]() | |
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: