From BlenderWiki

Jump to: navigation, search
Note: This is an archived version of the Blender Developer Wiki. The current and active wiki is available on wiki.blender.org.

Selection Mode

Header File: GPU_select.h

void    GPU_select_buffer(GLsizei size, GLuint* buffer); /* replaces glSelectBuffer(size, buffer) */
 
void    GPU_select_begin (void);                         /* replaces glRenderMode(GL_SELECT)      */
GLsizei GPU_select_end   (void);                         /* replaces glRenderMode(GL_RENDER)      */
 
void    GPU_select_clear (void);                         /* replaces glInitNames()                */
void    GPU_select_pop   (void);                         /* replaces glPopName()                  */
void    GPU_select_push  (GLuint name);                  /* replaces glPushName(name)             */
void    GPU_select_load  (GLuint name);                  /* replaces glLoadName(name)             */

This is a replacement for the selection mode in legacy OpenGL.

Currently unimplemented in core and ES profiles.