Ion
|
Wrapper around a sub-image, which is defined as an image, the xy offset of where it should be placed in the texture, and a mipmap level. More...
#include "texture.h"
Public Member Functions | |
SubImage () | |
SubImage (size_t level_in, const math::Point2ui &offset_in, const ImagePtr &image_in) | |
SubImage (size_t level_in, const math::Point3ui &offset_in, const ImagePtr &image_in) | |
Public Attributes | |
size_t | level |
math::Point3ui | offset |
ImagePtr | image |
Wrapper around a sub-image, which is defined as an image, the xy offset of where it should be placed in the texture, and a mipmap level.
Subclasses should use this to declare texture image data.