-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathVKStats.cpp
More file actions
19 lines (14 loc) · 849 Bytes
/
VKStats.cpp
File metadata and controls
19 lines (14 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "VKPCH.h"
#define RENDER_BEGIN_CLASS_REGISTRATION1(Name,...) extern size_t Name ## Counter;
#define RENDER_BEGIN_CLASS_REGISTRATION2(Name,Parent,...) RENDER_BEGIN_CLASS_REGISTRATION1(Name)
#define RENDER_BEGIN_CLASS_REGISTRATION1_WITHOUT_FACTORY(Name,...)
#define RENDER_BEGIN_CLASS_REGISTRATION2_WITHOUT_FACTORY(Name,Parent,...)
#include "..\BearGraphics\BearTemplate\BearGraphicsObjectsList.h"
#define RENDER_BEGIN_CLASS_REGISTRATION1(Name,...) size_t VKStats::Count ## Name(){return Name ## Counter;}
#define RENDER_BEGIN_CLASS_REGISTRATION2(Name,Parent,...) RENDER_BEGIN_CLASS_REGISTRATION1(Name)
#define RENDER_BEGIN_CLASS_REGISTRATION1_WITHOUT_FACTORY(Name,...)
#define RENDER_BEGIN_CLASS_REGISTRATION2_WITHOUT_FACTORY(Name,Parent,...)
#include "..\BearGraphics\BearTemplate\BearGraphicsObjectsList.h"
VKStats::~VKStats()
{
}