In my persuit to optimize certain intensive routines within an inch of their lives, I've been assigning ImageBuffer() handles to variables and then using the variable to SetBuffer/LockBuffer etc.
Do you think this could be unsafe?
I guess what I'm really asking is: Once an image is loaded/created, is it guaranteed to remain in the same place in VRAM until it's released?
Global image1 = CreateImage(100,100) Global IB_image1 = ImageBuffer(image1) . . . SetBuffer IB_image1 Rect 0,0,10,10
Do you think this could be unsafe?
I guess what I'm really asking is: Once an image is loaded/created, is it guaranteed to remain in the same place in VRAM until it's released?