The TnT engine
latest
Welcome to The TnT engine’s documentation!
Core
Async
Entity Component System
File
Audio Player
Snipper
Texture Atlas
Virtual File System
Cache
ImGui
Math
Procedural Content Generation
The TnT engine
»
File
»
Texture Atlas
Edit on GitHub
Texture Atlas
¶
namespace
tnt
class
TextureAtlas
¶
Public Functions
TextureAtlas
(
Window
const
&
win
, std::string_view
file_
, Rectangle
const
&
area
)
noexcept
¶
void
Draw
(
Window
const
&
win
,
Vector
const
&
pos
,
Vector
const
&
scale
= {1.f, 1.f}, float
angle
= 0.f
)
noexcept
¶
Private Members
const
char *
filename
¶
Rectangle
clip
¶
Read the Docs
v: latest
Versions
latest
Downloads
On Read the Docs
Project Home
Builds