]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/instancescene.h
Deprecated InstanceScene and Renderable::get_instance_key
[libs/gl.git] / source / render / instancescene.h
index 85ec3794493e1d27fedb1094a917d7f33dd66eb3..ae9b637b8560543cda0b83e625507e4d9dd5e0be 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <map>
 #include <set>
+#include <msp/core/attributes.h>
 #include <msp/core/inttypes.h>
 #include "scene.h"
 
@@ -14,7 +15,7 @@ A Scene optimized for rendering instanced Renderables, such as ObjectInstances.
 All Renderables with the same instance key are rendered consecutively; within
 the same key rendering order is unspecified.
 */
-class InstanceScene: public Scene
+class DEPRECATED InstanceScene: public Scene
 {
 private:
        typedef std::set<Renderable *> RenderableSet;