ClanLib
2.3.7
|
This class describes a single frame in a sprite description. More...
#include <sprite_description.h>
Public Types | |
enum | FrameType { type_pixelbuffer, type_texture } |
Public Member Functions | |
CL_SpriteDescriptionFrame (CL_PixelBuffer pixelbuffer, CL_Rect rect) | |
Constructs a SpriteDescriptionFrame. More... | |
CL_SpriteDescriptionFrame (CL_Texture texture, CL_Rect rect) | |
Constructs a SpriteDescriptionFrame. More... | |
Public Attributes | |
double | delay |
CL_PixelBuffer | pixelbuffer |
CL_Rect | rect |
CL_Texture | texture |
FrameType | type |
This class describes a single frame in a sprite description.
|
inline |
Constructs a SpriteDescriptionFrame.
pixelbuffer | = Pixel Buffer |
rect | = Rect |
|
inline |
Constructs a SpriteDescriptionFrame.
texture | = Texture |
rect | = Rect |
double CL_SpriteDescriptionFrame::delay |
CL_PixelBuffer CL_SpriteDescriptionFrame::pixelbuffer |
CL_Rect CL_SpriteDescriptionFrame::rect |
CL_Texture CL_SpriteDescriptionFrame::texture |
FrameType CL_SpriteDescriptionFrame::type |