FMipBiasFade::SetNewMipCount

Sets up a new interpolation target for the mip-bias.

Choose your operating system:

Windows

macOS

Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderResource.h

Include

#include "RenderResource.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderResource.cpp

Syntax

void SetNewMipCount
(
    float ActualMipCount,
    float TargetMipCount,
    double LastRenderTime,
    EMipFadeSettings FadeSetting
)

Remarks

Sets up a new interpolation target for the mip-bias.

Parameters

Parameter

Description

ActualMipCount

Number of mip-levels currently in memory

TargetMipCount

Number of mip-levels we're changing to

LastRenderTime

Timestamp when it was last rendered (FApp::CurrentTime time space)

FadeSetting

Which fade speed settings to use