Add events for streamable resources residency changes tracking

This commit is contained in:
Wojciech Figat
2022-04-21 12:37:39 +02:00
parent 0a458d94c4
commit 5345d1f685
6 changed files with 27 additions and 7 deletions

View File

@@ -568,6 +568,11 @@ public:
/// </summary>
API_PROPERTY() void SetResidentMipLevels(int32 count);
/// <summary>
/// Event called when texture residency gets changed. Texture Mip gets loaded into GPU memory and is ready to use.
/// </summary>
Delegate<GPUTexture*> ResidentMipsChanged;
protected:
virtual bool OnInit() = 0;