摘要:
视口glViewport(x, y, w, h);清理glClearColor(colour.r, colour.g, colour.b, colour.a);glClearDepth(depth);glEnable(GL_DEPTH_TEST);glEnable(GL_SCISSOR_TEST);glClear(flags);glDisable(GL_SCISSOR_TEST);多边形模式glPolygonMode(GL_FRONT_AND_BACK, glmode);投影矩阵glMatrixMode(GL_PROJECTION);glLoadMatrixf(mat);glMatrixMod 阅读全文