summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsLight.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rs/rsLight.h')
-rw-r--r--libs/rs/rsLight.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/rs/rsLight.h b/libs/rs/rsLight.h
index d8796e6..bd58979 100644
--- a/libs/rs/rsLight.h
+++ b/libs/rs/rsLight.h
@@ -37,6 +37,9 @@ public:
void setColor(float r, float g, float b);
void setupGL(uint32_t num) const;
+ virtual void serialize(OStream *stream) const;
+ virtual RsA3DClassID getClassId() const { return RS_A3D_CLASS_ID_LIGHT; }
+ static Light *createFromStream(Context *rsc, IStream *stream);
protected:
float mColor[4];