1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Extract Decal and Decal atlas from Storage class

This commit is contained in:
Bastiaan Olij
2022-03-20 22:28:24 +11:00
parent aa8ff21b2a
commit 0fe06e9467
27 changed files with 1001 additions and 686 deletions

View File

@@ -385,6 +385,12 @@ public:
/* DECAL API */
#undef ServerName
#undef server_name
#define ServerName RendererDecalAtlasStorage
#define server_name RSG::decal_atlas_storage
FUNCRIDSPLIT(decal)
FUNC2(decal_set_extents, RID, const Vector3 &)
@@ -399,6 +405,13 @@ public:
/* BAKED LIGHT API */
//from now on, calls forwarded to this singleton
#undef ServerName
#undef server_name
#define ServerName RendererStorage
#define server_name RSG::storage
FUNCRIDSPLIT(voxel_gi)
FUNC8(voxel_gi_allocate_data, RID, const Transform3D &, const AABB &, const Vector3i &, const Vector<uint8_t> &, const Vector<uint8_t> &, const Vector<uint8_t> &, const Vector<int> &)