]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderable.h
Add support for integer vertex attributes
[libs/gl.git] / source / render / renderable.h
index 8af524fd64de0d73613001c7ad7ac877acb23612..4175dd81294821f7d8d7c82d76c286ca99ad8cc0 100644 (file)
@@ -2,7 +2,7 @@
 #define MSP_GL_RENDERABLE_H_
 
 #include <string>
-#include <msp/core/inttypes.h>
+#include <msp/core/attributes.h>
 #include <msp/geometry/boundingsphere.h>
 #include "tag.h"
 
@@ -33,10 +33,6 @@ protected:
 public:
        virtual ~Renderable() { }
 
-       /** Returns a key used for grouping Renderables in an InstanceScene.  The
-       returned value is treated as opaque. */
-       virtual IntPtr get_instance_key() const { return 0; }
-
        /** Returns the model matrix of the Renderable.  Null is returned if no such
        matrix exists.  The matrix should be in world space for some effects to work
        correctly. */