Defines | |
| #define | oslImageIsCopy(img) (img->flags & OSL_IMAGE_COPY) |
| #define | oslImageIsSwizzled(img) (img->flags & OSL_IMAGE_SWIZZLED) |
| #define | oslImageGetAutoStrip(img) (img->flags & OSL_IMAGE_AUTOSTRIP) |
Functions | |
| void | oslImageIsCopySet (OSL_IMAGE *img, bool enabled) |
| void | oslImageIsSwizzledSet (OSL_IMAGE *img, bool enabled) |
| void | oslImageSetAutoStrip (OSL_IMAGE *img, bool enabled) |
| #define oslImageIsCopy | ( | img | ) | (img->flags & OSL_IMAGE_COPY) |
Returns a nonzero value if the image is a copy of another, 0 if it's an original.
| #define oslImageIsSwizzled | ( | img | ) | (img->flags & OSL_IMAGE_SWIZZLED) |
Returns a nonzero value if the image is swizzled, 0 else.
| #define oslImageGetAutoStrip | ( | img | ) | (img->flags & OSL_IMAGE_AUTOSTRIP) |
Returns a nonzero value if the image is swizzled, 0 else.
| void oslImageIsCopySet | ( | OSL_IMAGE * | img, | |
| bool | enabled | |||
| ) | [inline] |
Defines if an image is a copy. For internal use only.
| void oslImageIsSwizzledSet | ( | OSL_IMAGE * | img, | |
| bool | enabled | |||
| ) | [inline] |
Defines if an image is swizzled. For internal use only
| void oslImageSetAutoStrip | ( | OSL_IMAGE * | img, | |
| bool | enabled | |||
| ) | [inline] |
Defines if an image should be automatically stripped (divided in stripes to be blitted faster if it's very big). You shouldn't care about this.
1.5.9