NWengine 0.9
Loading...
Searching...
No Matches
Sprite.h File Reference

Defines the Sprite class, which represents a game sprite. More...

#include "GameObject.h"
#include "Shader.h"
#include "Texture.h"
#include "image.h"
#include "Primitives.h"

Go to the source code of this file.

Classes

class  Sprite
 Represents a game sprite. More...
 

Enumerations

enum  BatchType { UNBATCHED , STATIC_BATCH = 1 , DYNAMIC_BATCH = 2 }
 Enumerates the batch types for sprites. More...
 

Detailed Description

Defines the Sprite class, which represents a game sprite.

Enumeration Type Documentation

◆ BatchType

Enumerates the batch types for sprites.

Enumerator
UNBATCHED 

Unbatched sprite

STATIC_BATCH 

Static batched sprite

DYNAMIC_BATCH 

Dynamic batched sprite