summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsSimpleMesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rs/rsSimpleMesh.h')
-rw-r--r--libs/rs/rsSimpleMesh.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/rsSimpleMesh.h b/libs/rs/rsSimpleMesh.h
index 6defbda..362c7fb 100644
--- a/libs/rs/rsSimpleMesh.h
+++ b/libs/rs/rsSimpleMesh.h
@@ -48,7 +48,11 @@ public:
void render(Context *) const;
void renderRange(Context *, uint32_t start, uint32_t len) const;
void uploadAll(Context *);
+ void updateGLPrimitive();
+ virtual void serialize(OStream *stream) const;
+ virtual RsA3DClassID getClassId() const { return RS_A3D_CLASS_ID_SIMPLE_MESH; }
+ static SimpleMesh *createFromStream(Context *rsc, IStream *stream);
protected:
};