Scaleform::Render::ImageSwizzler
class ImageSwizzler;
ImageSwizzler is a wrapper around ImageData accessor functions so as to abstract away certain swizzled texture formats when dealing with DrawableImage functions.
The default implementation is a simple pass through to the relevant ImageData accessors since in most cases the texel data is mapped linearly in memory. On other platforms, however, the texel data may be swizzled, and so additional logic is necessary.
Method |
Description |
Pass-through function to ImageData::GetScanline on platforms without swizzled textures. | |
A pass-through function to ImageData::GetPixelInScanline on platforms without swizzled textures. | |
Initializes the image swizzler. | |
A pass-through function to ImageData::SetPixelInScanline on platforms without swizzled textures. |
Render_Image.h