aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/je_graphic_batch.h
blob: 274ce4dc78e6a3b31238552e1f396b3f759666bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __JE_GRAPHIC_BATCH_H
#define __JE_GRAPHIC_BATCH_H

#include "je_graphic_single.h"

namespace JinEngine
{
    namespace Graphics
    {

        //
        // GraphicsBatch 
        //

        ///
        /// For reducing draw call. Draw a bunch of graphic.
        ///
        class GraphicBatch : public GraphicSingle
        {
        public:
            void add(int x, int y, float sx = 1, float sy = 1, float r = 0, float ox = 0, float oy = 0);

        private:


        };

    } // namespace Graphics
} // namespace JinEngine 

#endif