You need to call them from the OpenGL function table. Here is an example; http://www.fevrierdorian.com/blog/post/2010/02/12/Creating-custom-locator-with-Maya-s-Python-API
On Monday, 20 January 2014 13:05:23 UTC, Dilen Shah wrote: > > > Hey Jack, > > I am trying to use that but in python as I am using the OpenMayaRender > module for it but glClear(GL_DEPTH_BUFFER_BIT) isnt in the attirbutes of > it. Do you know which module is it from. > > D. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/2b3f5943-45cf-416b-a0ad-0aabccea1326%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
