UMeshComponent::SetTextureForceResidentFlag

Tell the streaming system whether or not all mip levels of all textures used by this component should be loaded and remain loaded.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h

Include

#include "Components/MeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/MeshComponent.cpp

Syntax

virtual void SetTextureForceResidentFlag
(
    bool bForceMiplevelsToBeResident
)

Remarks

Tell the streaming system whether or not all mip levels of all textures used by this component should be loaded and remain loaded.

Parameters

Parameter

Description

bForceMiplevelsToBeResident

Whether textures should be forced to be resident or not.