Decouple TextureStorage from RenderingServer
By moving RS::TextureDetect(Roughness)Callback and RS::TextureInfo to RenderingServerTypes.
This commit is contained in:
parent
cb9b4cff90
commit
671864fb05
12 changed files with 67 additions and 65 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue