#include <sprite.h>
◆ Sprite()
tram::Render::Sprite::Sprite |
( |
UID |
name | ) |
|
|
inline |
◆ Find()
◆ GetFrames()
const std::vector< SpriteFrame > & tram::Render::Sprite::GetFrames |
( |
| ) |
|
|
inline |
◆ GetMaterial()
Material * tram::Render::Sprite::GetMaterial |
( |
| ) |
const |
|
inline |
◆ LoadFromDisk()
void Sprite::LoadFromDisk |
( |
| ) |
|
|
virtual |
◆ LoadFromMemory()
void Sprite::LoadFromMemory |
( |
| ) |
|
|
virtual |
◆ SetMaterial()
void tram::Render::Sprite::SetMaterial |
( |
Material * |
mat | ) |
|
|
inline |
◆ Unload()
void tram::Render::Sprite::Unload |
( |
| ) |
|
|
inlinevirtual |
◆ frames
◆ material
Material* tram::Render::Sprite::material = nullptr |
|
protected |
The documentation for this class was generated from the following files:
- C:/Users/Poga/Desktop/painis/tram-sdk/src/render/sprite.h
- C:/Users/Poga/Desktop/painis/tram-sdk/src/render/sprite.cpp