Added suppor for copying mipmaps of compressed textures

This commit is contained in:
Robert Osfield
2004-07-05 21:09:30 +00:00
parent 4c5f33d397
commit cce00c475b
3 changed files with 137 additions and 31 deletions

View File

@@ -106,7 +106,7 @@ class SG_EXPORT Image : public Object
/** read the contents of the current bound texture, handling compressed pixelFormats if present.
* Create memory for storage if required, reuse existing pixel coords if possible.*/
void readImageFromCurrentTexture(unsigned int contextID=0);
void readImageFromCurrentTexture(unsigned int contextID, bool copyMipMapsIfAvailable);
/** Scale image to specified size. */