iphone Programming Glossary: gl_point_sprite_oes
Undo drawing in Paint Application http://stackoverflow.com/questions/6689600/undo-drawing-in-paint-application GLfloat i GLfloat count vertexCount 1 self ChangebrushPic brushimage the erase brush color is transparent. glEnable GL_POINT_SPRITE_OES glTexEnvf GL_POINT_SPRITE_OES GL_COORD_REPLACE_OES GL_TRUE glPointSize 64 mbrushscale Render the vertex array glVertexPointer.. 1 self ChangebrushPic brushimage the erase brush color is transparent. glEnable GL_POINT_SPRITE_OES glTexEnvf GL_POINT_SPRITE_OES GL_COORD_REPLACE_OES GL_TRUE glPointSize 64 mbrushscale Render the vertex array glVertexPointer 2 GL_FLOAT 0 eraseBuffer..
Save OpenGL Drawn item as a Image http://stackoverflow.com/questions/9660723/save-opengl-drawn-item-as-a-image a blending function appropriate for premultiplied alpha pixel data glBlendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA glEnable GL_POINT_SPRITE_OES glTexEnvf GL_POINT_SPRITE_OES GL_COORD_REPLACE_OES GL_TRUE glPointSize width kBrushScale Make sure to start with a cleared.. for premultiplied alpha pixel data glBlendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA glEnable GL_POINT_SPRITE_OES glTexEnvf GL_POINT_SPRITE_OES GL_COORD_REPLACE_OES GL_TRUE glPointSize width kBrushScale Make sure to start with a cleared buffer needsErase YES return..
Record the drawing as a m4v video file - OpenGL http://stackoverflow.com/questions/9661259/record-the-drawing-as-a-m4v-video-file-opengl a blending function appropriate for premultiplied alpha pixel data glBlendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA glEnable GL_POINT_SPRITE_OES glTexEnvf GL_POINT_SPRITE_OES GL_COORD_REPLACE_OES GL_TRUE glPointSize width kBrushScale Make sure to start with a cleared.. for premultiplied alpha pixel data glBlendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA glEnable GL_POINT_SPRITE_OES glTexEnvf GL_POINT_SPRITE_OES GL_COORD_REPLACE_OES GL_TRUE glPointSize width kBrushScale Make sure to start with a cleared buffer needsErase YES AppDelegate.h..
|