diff options
Diffstat (limited to 'libs/rs/rsProgramVertex.h')
-rw-r--r-- | libs/rs/rsProgramVertex.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/rs/rsProgramVertex.h b/libs/rs/rsProgramVertex.h index 28554cc..cb93eaf 100644 --- a/libs/rs/rsProgramVertex.h +++ b/libs/rs/rsProgramVertex.h @@ -52,6 +52,9 @@ public: virtual void loadShader(Context *); virtual void init(Context *); + virtual void serialize(OStream *stream) const; + virtual RsA3DClassID getClassId() const { return RS_A3D_CLASS_ID_PROGRAM_VERTEX; } + static ProgramVertex *createFromStream(Context *rsc, IStream *stream); protected: uint32_t mLightCount; @@ -71,9 +74,9 @@ public: ProgramVertexState(); ~ProgramVertexState(); - void init(Context *rsc, int32_t w, int32_t h); + void init(Context *rsc); void deinit(Context *rsc); - void updateSize(Context *rsc, int32_t w, int32_t h); + void updateSize(Context *rsc); ObjectBaseRef<ProgramVertex> mDefault; ObjectBaseRef<ProgramVertex> mLast; |