Activate a specific shader program replacing that part of the GL rendering pipeline, if passed in COGL_INVALID_HANDLE
the
default behavior of GL is reinstated.
Use CoglSnippet
api
This function affects the global state of the current Cogl context. It is much more efficient to attach the shader to a specific material used for rendering instead by calling set_user_program.
handle |
a VertexBufferIndices for a shader program or |