Go to the source code of this file.
◆ SK_FLATTENABLE_HOOKS
#define SK_FLATTENABLE_HOOKS |
( |
|
type | ) |
|
Value:
Factory
getFactory()
const override {
return type::CreateProc; } \
const
char*
getTypeName()
const override {
return #type; }
Definition: SkFlattenable.h:81
virtual const char * getTypeName() const =0
Returns the name of the object's class.
virtual Factory getFactory() const =0
Implement this to return a factory function pointer that can be called to recreate your class given a...
◆ SK_REGISTER_FLATTENABLE