Function rcocos2d_sys::cocos2d_ccGLUseProgram [−][src]
pub unsafe extern "C" fn cocos2d_ccGLUseProgram(program: GLuint)
Expand description
Uses the GL program in case program is different than the current one. If CC_ENABLE_GL_STATE_CACHE is disabled, it will the glUseProgram() directly. @since v2.0.0