¡@

Home 

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

iphone Programming Glossary: glbegin

What's “in” and “out” of OpenGL-ES? (Porting from OpenGL)

http://stackoverflow.com/questions/272970/whats-in-and-out-of-opengl-es-porting-from-opengl

ES says something to the effect of OpenGL ES is just like OpenGL but without a lot of stuff. For example there's no glBegin or glEnd. Ok that's great. So what ELSE isn't there any of Or is there a list of what's in Or maybe a porting guide Specifically..

What is the fastest way to draw single pixels directly to the screen in an iPhone application?

http://stackoverflow.com/questions/389289/what-is-the-fastest-way-to-draw-single-pixels-directly-to-the-screen-in-an-iphon

well. iphone cocoa touch opengl es share improve this question Most probably using OpenGL something like glBegin GL_POINTS glColor3f ... glVertex3f ... ... glEnd Even faster would probably be to use vertex arrays for specifying the points...

How can I crop an Image with mask and combine it with another image (background) on iPhone? (OpenGL ES 1.1 is preferred)

http://stackoverflow.com/questions/5299452/how-can-i-crop-an-image-with-mask-and-combine-it-with-another-image-background

renderMask float texture_x 0 texture_y 0 float x 0 y 0 glBindTexture GL_TEXTURE_2D mask_texture glDisable GL_BLEND glBegin GL_QUADS glTexCoord2f texture_x texture_y glVertex2f x y glTexCoord2f texture_x 1.0 texture_y glVertex2f x 512.0 y glTexCoord2f.. x y 512.0 glEnd glBindTexture GL_TEXTURE_2D color_texture glEnable GL_BLEND glBlendFunc GL_DST_COLOR GL_ZERO glBegin GL_QUADS glTexCoord2f texture_x texture_y glVertex2f x y glTexCoord2f texture_x 1.0 texture_y glVertex2f x 512.0 y glTexCoord2f.. glBindTexture GL_TEXTURE_2D background_texture glEnable GL_BLEND glBlendFunc GL_ONE_MINUS_DST_COLOR GL_DST_COLOR glBegin GL_QUADS glTexCoord2f texture_x texture_y glVertex2f x y glTexCoord2f texture_x 1.0 texture_y glVertex2f x 512.0 y glTexCoord2f..