Image::GetRect

Image::GetRect
virtual ImageRect GetRect() const;
Description

GetRect obtains a sub-rectangle of texture or entire texture to use within an image. By default, full texture rectangle is reported. A smaller packed rectangle can be reported for SubImage.

Return Value

Returns a sub-rectangle of texture.