replace view with texture, move plugin to Swift implementation

This commit is contained in:
Nick Fisher
2022-08-19 12:39:55 +08:00
parent 21fef19359
commit c6e429bcba
20 changed files with 658 additions and 491 deletions

View File

@@ -139,7 +139,7 @@ void SceneAsset::setTexture(const char* resourcePath, int renderableIndex) {
delete inputStream;
_freeResource(imageResource);
_freeResource(imageResource.id);
uint32_t channels = image->getChannels();
uint32_t w = image->getWidth();