JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
Sprite::Batch Class Reference

While this object is alive, don't do any other draw calls. Should never outlive its Sprite. More...

#include <jngl/sprite.hpp>

Public Member Functions

 Batch (std::unique_ptr< Impl >)
 
 Batch (Batch &&)=default
 
Batchoperator= (Batch &&)=default
 
 Batch (const Batch &)=delete
 
Batchoperator= (const Batch &)=delete
 
void draw (Mat3 modelview) const
 Draws the Sprite which created this Batch centered using modelview.
 

Friends

class Sprite
 

Detailed Description

While this object is alive, don't do any other draw calls. Should never outlive its Sprite.

Definition at line 134 of file sprite.hpp.

Friends And Related Symbol Documentation

◆ Sprite

friend class Sprite
friend

Definition at line 137 of file sprite.hpp.


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