APlayerController::ClientPrestreamTextures

Forces the streaming system to disregard the normal logic for the specified duration and instead always load all mip-levels for all textures used by the specified actor.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Syntax

void ClientPrestreamTextures
(
    class AActor * ForcedActor,
    float ForceDuration,
    bool bEnableStreaming,
    int32 CinematicTextureGroups
)

Remarks

Forces the streaming system to disregard the normal logic for the specified duration and instead always load all mip-levels for all textures used by the specified actor.

Parameters

Parameter

Description

ForcedActor

The actor whose textures should be forced into memory.

ForceDuration

Number of seconds to keep all mip-levels in memory, disregarding the normal priority logic.

bEnableStreaming

Whether to start (true) or stop (false) streaming

CinematicTextureGroups

Bitfield indicating which texture groups that use extra high-resolution mips

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss