Fix deadlock in asset thumbnails rendering queue when texture streaming fails

#2057
This commit is contained in:
Wojtek Figat
2023-12-14 16:05:15 +01:00
parent 60202a3add
commit d7b17ae0a6
7 changed files with 37 additions and 8 deletions

View File

@@ -148,6 +148,11 @@ public:
/// </summary>
API_PROPERTY() void SetTextureGroup(int32 textureGroup);
/// <summary>
/// Returns true if texture streaming failed (eg. pixel format is unsupported or texture data cannot be uploaded to GPU due to memory limit).
/// </summary>
API_PROPERTY() bool HasStreamingError() const;
public:
/// <summary>
/// Gets the mip data.