diff options
Diffstat (limited to 'libs/rs/rsComponent.h')
-rw-r--r-- | libs/rs/rsComponent.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/rs/rsComponent.h b/libs/rs/rsComponent.h index 71de324..a775051 100644 --- a/libs/rs/rsComponent.h +++ b/libs/rs/rsComponent.h @@ -35,7 +35,6 @@ public: uint32_t getGLType() const; uint32_t getGLFormat() const; - String8 getCType() const; String8 getGLSLType() const; void dumpLOGV(const char *prefix) const; @@ -48,6 +47,12 @@ public: bool getIsSigned() const {return mIsSigned;} uint32_t getBits() const {return mBits;} + // Helpers for reading / writing this class out + void serialize(OStream *stream) const; + void loadFromStream(IStream *stream); + + bool isReference() const; + protected: RsDataType mType; RsDataKind mKind; |