Decouple TextureStorage from RenderingServer

By moving RS::TextureDetect(Roughness)Callback and RS::TextureInfo
to RenderingServerTypes.
This commit is contained in:
Rémi Verschelde 2026-02-20 00:37:17 +01:00
parent cb9b4cff90
commit 671864fb05
No known key found for this signature in database
GPG key ID: C3336907360768E1
12 changed files with 67 additions and 65 deletions

View file

@ -57,10 +57,10 @@ RenderingServer *RenderingServer::create() {
}
Array RenderingServer::_texture_debug_usage_bind() {
List<TextureInfo> list;
List<RenderingServerTypes::TextureInfo> list;
texture_debug_usage(&list);
Array arr;
for (const TextureInfo &E : list) {
for (const RenderingServerTypes::TextureInfo &E : list) {
Dictionary dict;
dict["texture"] = E.texture;
dict["width"] = E.width;