Drawing images with transparency onto a texture?

Blitz3D Forums/Blitz3D Beginners Area/Drawing images with transparency onto a texture?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm not sure if I'm going about this properly, but currently I'm painting images on VRAM textures via CopyRect(src_x1, src_y1, width, height, dest_x1, dest_y1, texturebuffer(src_texture), texturebuffer(dest_texture)), using src_textures which are a montage of all the little icons and letters I'll be drawing. CopyRect() seems fast, but it doesn't allow for masking (i.e. where one colour is transparent).

What's the preferred method of doing this...

SetBuffer() and DrawImageRect()?

ReadPixelFast() : if rgb<>0 then WritePixelFast()?

Something else?

Thanks in advance