¡@

Home 

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

iphone Programming Glossary: gltexenvi

Can example “GLImageProcessing” work with multi filters

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

t 1.2 glVertexPointer 2 GL_FLOAT sizeof V2fT2f flipquad 0 .x glTexCoordPointer 2 GL_FLOAT sizeof V2fT2f flipquad 0 .s glTexEnvi GL_TEXTURE_ENV GL_TEXTURE_ENV_MODE GL_COMBINE static GLfloat constColor 4 0.1 0.2 0.3 0.4 if t 1.0f glTexEnvi GL_TEXTURE_ENV.. 0 .s glTexEnvi GL_TEXTURE_ENV GL_TEXTURE_ENV_MODE GL_COMBINE static GLfloat constColor 4 0.1 0.2 0.3 0.4 if t 1.0f glTexEnvi GL_TEXTURE_ENV GL_COMBINE_RGB GL_ADD glColor4f t 1 t 1 t 1 t 1 constColor 0 t 1 constColor 1 t 1 constColor 2 t 1 constColor.. GL_ADD glColor4f t 1 t 1 t 1 t 1 constColor 0 t 1 constColor 1 t 1 constColor 2 t 1 constColor 3 t 1 else glTexEnvi GL_TEXTURE_ENV GL_COMBINE_RGB GL_SUBTRACT constColor 0 1 t constColor 1 1 t constColor 2 1 t constColor 3 1 t glTexEnvfv..