¡@

Home 

2014/10/15 ¤U¤È 10:09:41

iphone Programming Glossary: gltexparameterf

OpenGL ES 2d rendering into image

http://stackoverflow.com/questions/10455329/opengl-es-2d-rendering-into-image

attrs CFRelease empty glBindTexture CVOpenGLESTextureGetTarget renderTexture CVOpenGLESTextureGetName renderTexture glTexParameterf GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameterf GL_TEXTURE_2D GL_TEXTURE_WRAP_T GL_CLAMP_TO_EDGE glFramebufferTexture2D.. renderTexture CVOpenGLESTextureGetName renderTexture glTexParameterf GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameterf GL_TEXTURE_2D GL_TEXTURE_WRAP_T GL_CLAMP_TO_EDGE glFramebufferTexture2D GL_FRAMEBUFFER GL_COLOR_ATTACHMENT0 GL_TEXTURE_2D..

Draw to offscreen renderbuffer in OpenGL ES (iPhone)

http://stackoverflow.com/questions/1853551/draw-to-offscreen-renderbuffer-in-opengl-es-iphone

GL_FRAMEBUFFER_OES if status GL_FRAMEBUFFER_COMPLETE_OES NSLog @ failed to make complete framebuffer object x status glTexParameterf GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_LINEAR glTexParameterf GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_LINEAR glClearColor.. @ failed to make complete framebuffer object x status glTexParameterf GL_TEXTURE_2D GL_TEXTURE_MIN_FILTER GL_LINEAR glTexParameterf GL_TEXTURE_2D GL_TEXTURE_MAG_FILTER GL_LINEAR glClearColor 1.0 1.0 1.0 1.0 glViewport 0 0 512 512 glClear GL_COLOR_BUFFER_BIT..

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

0 renderTexture glBindTexture CVOpenGLESTextureGetTarget renderTexture CVOpenGLESTextureGetName renderTexture glTexParameterf GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameterf GL_TEXTURE_2D GL_TEXTURE_WRAP_T GL_CLAMP_TO_EDGE glFramebufferTexture2D.. renderTexture CVOpenGLESTextureGetName renderTexture glTexParameterf GL_TEXTURE_2D GL_TEXTURE_WRAP_S GL_CLAMP_TO_EDGE glTexParameterf GL_TEXTURE_2D GL_TEXTURE_WRAP_T GL_CLAMP_TO_EDGE glFramebufferTexture2D GL_FRAMEBUFFER GL_COLOR_ATTACHMENT0 GL_TEXTURE_2D..