Add IsSingleFrame to RenderView for thumbnails/pre-render views drawing without temporal effects and LOD transitions

This commit is contained in:
Wojciech Figat
2022-04-04 17:11:01 +02:00
parent 3ded5326a2
commit 4c98e0a335
5 changed files with 24 additions and 13 deletions

View File

@@ -97,6 +97,11 @@ public:
/// </summary>
API_FIELD() bool IsOfflinePass = false;
/// <summary>
/// Flag used by single-frame rendering passes (eg. thumbnail rendering, model view caching) to reject LOD transitions animations and other temporal draw effects.
/// </summary>
API_FIELD() bool IsSingleFrame = false;
/// <summary>
/// The static flags mask used to hide objects that don't have a given static flags. Eg. use StaticFlags::Lightmap to render only objects that can use lightmap.
/// </summary>