diff options
Diffstat (limited to 'libs/rs/rsElement.h')
| -rw-r--r-- | libs/rs/rsElement.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/rs/rsElement.h b/libs/rs/rsElement.h index 02a1ca2..5c4f5c4 100644 --- a/libs/rs/rsElement.h +++ b/libs/rs/rsElement.h @@ -59,6 +59,9 @@ public: String8 getGLSLType(uint32_t indent=0) const; void dumpLOGV(const char *prefix) const; + virtual void serialize(OStream *stream) const; + virtual RsA3DClassID getClassId() const { return RS_A3D_CLASS_ID_ELEMENT; } + static Element *createFromStream(Context *rsc, IStream *stream); static const Element * create(Context *rsc, RsDataType dt, RsDataKind dk, bool isNorm, uint32_t vecSize); @@ -90,7 +93,7 @@ public: ~ElementState(); // Cache of all existing elements. - Vector<const Element *> mElements; + Vector<Element *> mElements; }; |
