Worldstone
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
SpriteRenderer Class Reference

Classes

struct  DrawRequest
 
struct  Frame
 
struct  Pos2D
 
class  SpriteRenderData
 

Public Types

using SpriteRenderDataHandle = std::weak_ptr< SpriteRenderData >
 

Public Member Functions

void init (const WorldStone::Palette &palette)
 
int shutdown ()
 
void setPalette (const WorldStone::Palette &palette)
 
SpriteRenderDataHandle createSpriteRenderData ()
 
void destroySpriteRenderData (SpriteRenderDataHandle)
 
void pushDrawRequest (SpriteRenderDataHandle spriteHandle, const DrawRequest &translation)
 
bool draw (int screenWidth, int screenHeight)
 

Detailed Description

Definition at line 8 of file DrawSprite.h.


The documentation for this class was generated from the following files: