iphone Programming Glossary: glgetintegerv
OpenGL ES render to texture, then draw texture http://stackoverflow.com/questions/1649222/opengl-es-render-to-texture-then-draw-texture GLuint textureFrameBuffer Texture2D texture To initialize the frame buffer and texture I'm doing this GLint oldFBO glGetIntegerv GL_FRAMEBUFFER_BINDING_OES oldFBO initWithData results in a white image on the device works fine in the simulator texture.. frontmost face of each object is transparent and I can see the inside of the back face. Here's the code GLint oldFBO glGetIntegerv GL_FRAMEBUFFER_BINDING_OES oldFBO glBindFramebufferOES GL_FRAMEBUFFER_OES textureFrameBuffer glClear GL_COLOR_BUFFER_BIT..
How do I create blurred text in an iPhone view? http://stackoverflow.com/questions/227305/how-do-i-create-blurred-text-in-an-iphone-view void blur V2fT2f quad float t t 1 GLint tex V2fT2f tmpquad 4 float offw t Input.wide float offh t Input.high int i glGetIntegerv GL_TEXTURE_BINDING_2D tex Three pass small blur using rotated pattern to sample 17 texels . .. . X rotated samples filter..
How to detect maximum texture resolution on iPhone? http://stackoverflow.com/questions/3240636/how-to-detect-maximum-texture-resolution-on-iphone texture resolution available to openGL on any said device iphone opengl es share improve this question Yes use glGetIntegerv like int maxTextureSize glGetIntegerv GL_MAX_TEXTURE_SIZE maxTextureSize Then you can use at most a maxTextureSize x maxTextureSize.. on any said device iphone opengl es share improve this question Yes use glGetIntegerv like int maxTextureSize glGetIntegerv GL_MAX_TEXTURE_SIZE maxTextureSize Then you can use at most a maxTextureSize x maxTextureSize texture. share improve this..
Can example “GLImageProcessing” work with multi filters http://stackoverflow.com/questions/4375479/can-example-glimageprocessing-work-with-multi-filters screen. Here is some sample code on how to do it for 2 filters Remember the FBO being used for the display framebuffer glGetIntegerv GL_FRAMEBUFFER_BINDING_OES GLint SystemFBO Create the texture and the FBO the will hold the result of applying the first..
GLImageProcessing Multiple Filters? http://stackoverflow.com/questions/6425861/glimageprocessing-multiple-filters glScalef wide high 1 glBindTexture GL_TEXTURE_2D Input.texID Remember the FBO being used for the display framebuffer glGetIntegerv GL_FRAMEBUFFER_BINDING_OES GLint SystemFBO Create the texture and the FBO the will hold the result of applying the first..
|