Editing individual pixels

Is it possible to edit individual pixels on, for example, a sprite used as a background image? I want to draw an image pixel by pixel to show a Mandelbrot set.

In theory you could use render to texture (not documented at this point) and render single pixel quads to the rendertarget. This is obviously a really bad idea. In general it is not a very good idea to grab a texture and modify it’s content on a mobile gpu. I would suggest you write a shader instead that outputs what you need.

3 Likes