Render to texture

Hi,

How can i directly render to textures ? is this possible ?
Please put example code ?

I am using OpenglES 1.0 library, and there is no pbuffer support.

Thanks,

Unless this OpenGL ES implementation supports the framebuffer objects extension, the only way is to render to the framebuffer then copy from there to a texture using glCopyTex[Sub]Image2D.