Graphics::Asset Class Referenceabstract
An asset is used to render an Object, but is not itself drawable. More...
#include <Asset.h>
Inheritance diagram for Graphics::Asset:
Collaboration diagram for Graphics::Asset:
Public Types | |
enum class | 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 & > |
Public Member Functions | |
Asset () | |
Asset (ID id) | |
bool | operator== (ID id) const |
ID | id () const |
virtual Type | type () const =0 |
virtual String | getTypeStr () const |
virtual void | write (MetaWriter &meta) 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 |
Detailed Description
An asset is used to render an Object, but is not itself drawable.
Member Typedef Documentation
◆ ID
using Graphics::Asset::ID = AssetID |
◆ List
◆ OwnedList
Member Enumeration Documentation
◆ Type
|
strong |
Constructor & Destructor Documentation
◆ Asset() [1/2]
|
inline |
◆ Asset() [2/2]
|
inline |
Member Function Documentation
◆ getTypeStr()
|
virtual |
Reimplemented in Graphics::ImageBrush, and Graphics::GradientBrush.
◆ id()
|
inline |
◆ operator==()
|
inline |
◆ type()
|
pure virtual |
Implemented in Graphics::AssetTemplate< asset_type >, Graphics::AssetTemplate< AssetType::Object >, Graphics::AssetTemplate< AssetType::Text >, Graphics::AssetTemplate< AssetType::Font >, Graphics::AssetTemplate< AssetType::Surface >, Graphics::AssetTemplate< AssetType::TextureBrush >, Graphics::AssetTemplate< AssetType::Pen >, Graphics::AssetTemplate< AssetType::Typeface >, Graphics::AssetTemplate< AssetType::SolidBrush >, and Graphics::AssetTemplate< AssetType::Blend >.
◆ write()
|
virtual |
The documentation for this class was generated from the following file: