Lines Matching defs:tex_id
299 GLuint tex_id, fb_id;
305 glGenTextures(1, &tex_id);
308 glBindTexture(GL_TEXTURE_2D, tex_id);
336 glDeleteTextures(1, &tex_id);
348 glFramebufferTexture2D(GL_FRAMEBUFFER_EXT, attachment, GL_TEXTURE_2D, tex_id, 0);
355 glFramebufferTexture2D(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT, GL_TEXTURE_2D, tex_id, 0);
366 glDeleteTextures(1, &tex_id);
453 GLuint tex_id;
457 glGenTextures(1, &tex_id);
458 glBindTexture(GL_TEXTURE_2D, tex_id);
462 glDeleteTextures(1, &tex_id);