Graphics::Blend Class Referenceabstract

Blend operations. More...

#include <Blend.h>

Inheritance diagram for Graphics::Blend:
Collaboration diagram for Graphics::Blend:

Public Types

enum class  Mode { XX }
 
- 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 & >
 

Public Member Functions

virtual Mode mode () const =0
 
virtual void transform (PixelFormat format, PackedColor src, uint8_t *dstptr, size_t length) const =0
 
virtual void transform (PixelFormat format, const uint8_t *srcptr, uint8_t *dstptr, size_t length) const =0
 
void write (MetaWriter &meta) const override
 
- Public Member Functions inherited from Graphics::AssetTemplate< AssetType::Blend >
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 ()
 
virtual LinkedObjectnext () const
 
bool insertAfter (LinkedObject *object)
 
bool operator== (const LinkedObject &other) const
 
bool operator!= (const LinkedObject &other) const
 

Additional Inherited Members

- Static Public Attributes inherited from Graphics::AssetTemplate< AssetType::Blend >
static constexpr Asset::Type assetType
 

Detailed Description

Member Enumeration Documentation

◆ Mode

enum Graphics::Blend::Mode
strong
Enumerator
XX 

Member Function Documentation

◆ mode()

◆ transform() [1/2]

◆ transform() [2/2]

◆ write()

void Graphics::Blend::write ( MetaWriter meta) const
overridevirtual

Reimplemented from Graphics::Asset.

Reimplemented in Graphics::BlendAlpha, and Graphics::BlendTransparent.


The documentation for this class was generated from the following file: