hi,
i’m trying to make a simple drawing app.
how can i draw on a texture ?
thanks
hi,
i’m trying to make a simple drawing app.
how can i draw on a texture ?
thanks
Texture.SetPixel / SetPixels
nice that works.
the point is i’d like to have more like a frame buffer object to be able to draw off screen and so on…
is there such an object (FBO) ?
SetPixels is the buffer-copy command. You draw to an array and SetPixels it whenever you’re done.
(FBO?)
There’s also Graphics.Blit, which I have no experience with but which does something similar.
FBO stands for frame buffer object.