This is from the BlitzPlus Docs:
LoadImage()
Loads an image and returns its handle.
The optional flags parameter can be one of:
1 : managed (image is frequently drawn but seldom modified - this is the default)
2 : dynamic (image is frequently drawn and modified)
4 : scratch (image is seldom drawn or modified)
Managed images are the default.
Dynamic images are the fastest, but can be 'lost' when the display mode changes. This means the
contents of the image will be scrambled, and you will need to restore the image content. If you
are frequently redrawing the image contents, this isn't really a problem. If not, you should use
managed images!
Scratch images are slow all round but consume no videomemory. These are good for things like title
pages and 'temporary work' images.
Note that canvas buffers and back buffers should be considered 'dynamic'.
***************
It says there are 3 options (1 & 2 & 4) - what happened to option 3?? And where can I find a more in-depth technical explanation of the 3 options, and when its best to use either of them???
LoadImage()
Loads an image and returns its handle.
The optional flags parameter can be one of:
1 : managed (image is frequently drawn but seldom modified - this is the default)
2 : dynamic (image is frequently drawn and modified)
4 : scratch (image is seldom drawn or modified)
Managed images are the default.
Dynamic images are the fastest, but can be 'lost' when the display mode changes. This means the
contents of the image will be scrambled, and you will need to restore the image content. If you
are frequently redrawing the image contents, this isn't really a problem. If not, you should use
managed images!
Scratch images are slow all round but consume no videomemory. These are good for things like title
pages and 'temporary work' images.
Note that canvas buffers and back buffers should be considered 'dynamic'.
***************
It says there are 3 options (1 & 2 & 4) - what happened to option 3?? And where can I find a more in-depth technical explanation of the 3 options, and when its best to use either of them???