Hi Luca, On 17 May 2016 at 07:59, Luca Bianconi <[email protected]> wrote: > Is the opengl 4.3 function glClearBufferData supported by osg? If yes how can > i use it? If no, is there a way to use it?
Just done a greap of OSG master and it doesn't have glClearBufferData so the answer for now is no. Implementing in your own local code you could use a draw callback, such as an osg::Camara pre/post DrawCallback. The other approach would be to add the function entry point into include/osg/GLExtensions and add where it's appropriate to add the call into the OSG to be conviniently support it. I haven't yet looked at the specs of the function so can only guess at where it might be supported. Adding it into the core OSG would mean it could be part of the up coming OSG-3.6. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

