|
Porytiles
|
Result of loading an animation frame from a PNG file. More...
#include <anim_frame_loader.hpp>
Public Attributes | |
| AnimFrame< PixelType > | frame |
| std::size_t | width_tiles |
| std::size_t | height_tiles |
Result of loading an animation frame from a PNG file.
Contains the loaded AnimFrame along with the frame dimensions in tiles. The dimensions are calculated from the source image and should be used to update AnimParams (typically only from the first frame, since all frames in an animation must have the same dimensions).
| PixelType | The pixel type for the frame tiles (Rgba32 or IndexPixel) |
Definition at line 46 of file anim_frame_loader.hpp.
| AnimFrame<PixelType> porytiles::FrameLoadResult< PixelType >::frame |
Definition at line 47 of file anim_frame_loader.hpp.
| std::size_t porytiles::FrameLoadResult< PixelType >::height_tiles |
Definition at line 49 of file anim_frame_loader.hpp.
| std::size_t porytiles::FrameLoadResult< PixelType >::width_tiles |
Definition at line 48 of file anim_frame_loader.hpp.