OldSchool Library
|
Macros | |
#define | oslImageIsCopy(img) |
#define | oslImageIsSwizzled(img) |
#define | oslImageGetAutoStrip(img) |
Advanced routines for working with images.
#define oslImageIsCopy | ( | img | ) |
Returns a nonzero value if the image is a copy of another image, or 0 if it is an original. A copy is an image that was created as a clone of another image, rather than being directly created.
#define oslImageIsSwizzled | ( | img | ) |
Returns a nonzero value if the image is swizzled, or 0 if it is not. Swizzling refers to a method of reorganizing image data to improve memory access patterns or GPU performance.
#define oslImageGetAutoStrip | ( | img | ) |
Returns a nonzero value if automatic striping is enabled for the image, or 0 if it is not. Automatic striping can be used to optimize the handling of large images by breaking them into smaller, more manageable strips.