Single Compilation Unit build.

Adds support for simple SCU build (DEV_ENABLED only).
This speeds up compilation by compiling multiple cpp files within a single translation unit.
This commit is contained in:
lawnjelly
2023-05-17 16:22:26 +01:00
parent 543750a1b3
commit b69c8b4791
29 changed files with 531 additions and 137 deletions

View File

@ -38,6 +38,9 @@
class SurfaceTool : public RefCounted {
GDCLASS(SurfaceTool, RefCounted);
static const uint32_t custom_mask[RS::ARRAY_CUSTOM_COUNT];
static const uint32_t custom_shift[RS::ARRAY_CUSTOM_COUNT];
public:
struct Vertex {
Vector3 vertex;