openglsupport.cpp | 34 int loc = glGetUniformLocation(prg_id, #NAME); \ 37 EIGEN_CAT(glGetUniform,SUFFIX)(prg_id,loc,data.data()); \ 47 int loc = glGetUniformLocation(prg_id, #NAME); \ 50 glGetUniformiv(prg_id,loc,(GLint*)data.data()); \ 74 GLint prg_id = glCreateProgram(); local 95 glAttachShader(prg_id, vtx_id); 96 glAttachShader(prg_id, frg_id); 97 glLinkProgram(prg_id); 98 glGetProgramiv(prg_id,GL_LINK_STATUS,&ok); 103 printInfoLog(prg_id); 236 GLint prg_id = createShader(vtx,frg); local 264 GLint prg_id = createShader(vtx,frg); local 294 GLint prg_id = createShader(vtx,frg); local 319 GLint prg_id = createShader(vtx,frg); local [all...] |