¡@

Home 

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

iphone Programming Glossary: glframebuffertexture2does

OpenGL ES Render to Texture

http://stackoverflow.com/questions/1024603/opengl-es-render-to-texture

1 textureFrameBuffer glBindFramebufferOES GL_FRAMEBUFFER_OES textureFrameBuffer attach renderbuffer glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D texture.name 0 unbind frame buffer glBindFramebufferOES GL_FRAMEBUFFER_OES..

OpenGL ES render to texture, then draw texture

http://stackoverflow.com/questions/1649222/opengl-es-render-to-texture-then-draw-texture

1 textureFrameBuffer glBindFramebufferOES GL_FRAMEBUFFER_OES textureFrameBuffer attach renderbuffer glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D texture.name 0 if glCheckFramebufferStatusOES GL_FRAMEBUFFER_OES..

Draw to offscreen renderbuffer in OpenGL ES (iPhone)

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

glBindTexture GL_TEXTURE_2D canvastexture glTexImage2D GL_TEXTURE_2D 0 GL_RGBA 512 512 0 GL_RGBA GL_UNSIGNED_BYTE NULL glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D canvastexture 0 GLenum status glCheckFramebufferStatusOES GL_FRAMEBUFFER_OES..

Can example “GLImageProcessing” work with multi filters

http://stackoverflow.com/questions/4375479/can-example-glimageprocessing-work-with-multi-filters

0 GL_RGBA GL_UNSIGNED_BYTE NULL glGenFramebuffersOES 1 ResultFBO glBindFramebufferOES GL_FRAMEBUFFER_OES ResultFBO glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D ResultTexture 0 bind the result FBO glBindFramebufferOES GL_FRAMEBUFFER_OES..

GLImageProcessing Multiple Filters?

http://stackoverflow.com/questions/6425861/glimageprocessing-multiple-filters

0 GL_RGBA GL_UNSIGNED_BYTE NULL glGenFramebuffersOES 1 ResultFBO glBindFramebufferOES GL_FRAMEBUFFER_OES ResultFBO glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D ResultTexture 0 bind the result FBO glBindFramebufferOES GL_FRAMEBUFFER_OES.. NULL GLuint stageFBO 2 glGenFramebuffersOES 2 stageFB0 glBindFramebufferOES GL_FRAMEBUFFER_OES stageFBO 0 glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D stageTexture 0 0 glBindFramebufferOES GL_FRAMEBUFFER_OES stageFBO.. GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D stageTexture 0 0 glBindFramebufferOES GL_FRAMEBUFFER_OES stageFBO 1 glFramebufferTexture2DOES GL_FRAMEBUFFER_OES GL_COLOR_ATTACHMENT0_OES GL_TEXTURE_2D stageTexture 1 0 bind stage 1 sourcing stage 0 glBindFramebufferOES..