You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Extracting render buffers and changing it to a more generic solution
This commit is contained in:
@@ -200,7 +200,7 @@ public:
|
||||
RID get_cache(Args... args) {
|
||||
uint32_t h = hash_murmur3_one_32(1); //1 view
|
||||
h = hash_murmur3_one_32(sizeof...(Args), h);
|
||||
h = _hash_args(h, args...);
|
||||
h = _hash_rids(h, args...);
|
||||
h = hash_murmur3_one_32(0, h); // 0 passes
|
||||
h = hash_fmix32(h);
|
||||
|
||||
@@ -228,7 +228,7 @@ public:
|
||||
RID get_cache_multiview(uint32_t p_views, Args... args) {
|
||||
uint32_t h = hash_murmur3_one_32(p_views);
|
||||
h = hash_murmur3_one_32(sizeof...(Args), h);
|
||||
h = _hash_args(h, args...);
|
||||
h = _hash_rids(h, args...);
|
||||
h = hash_murmur3_one_32(0, h); // 0 passes
|
||||
h = hash_fmix32(h);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user