class

FResidentTextureStreaming

Streaming for the editor and Play-in-Editor. Residency lives on the shared Texture2D the materials already point at: the manager's resident-mip image is handed to the texture (Texture2D::SetResidentImage), so no Material is re-set and nothing the open level serializes changes. The coarse tail is resident from the first frame; the finer mips come and go with the camera under the pool. Turning the driver off settles every texture back to its full chain (SettleToFullResolution) so the shared texture is complete again; destroying it does not, since the process is going away.

Module
Game
Header
#include "Streaming/SceneTextureStreaming.h"
Namespace
Mowo

Constructors

SignatureNameDescription
FResidentTextureStreaming()FResidentTextureStreaming
~FResidentTextureStreaming() = default~FResidentTextureStreaming

Public functions

ReturnsNameDescription
voidUpdateOne tick: re-scan scene for textures and instances every 60th call, apply the pool, stream.
voidSettleToFullResolutionStreams everything to full resolution and keeps the textures on their resident (now complete) image.
FTextureStreamingManager&GetManager
uint32_tGetTrackedTextureCount
uint32_tGetReducedTextureCountThe number of textures whose resident top mip is coarser than mip 0.
voidSyncRegisters the textures of scene's meshes now and refreshes the instance bounds; Update does this on its own cadence.

Function details

FResidentTextureStreaming

C++
FResidentTextureStreaming()

~FResidentTextureStreaming

C++
~FResidentTextureStreaming() = default

Update

C++
void Update(Scene* scene, const Vec3& cameraPos, float fovYRadians, uint32_t viewportHeightPx)

One tick: re-scan scene for textures and instances every 60th call, apply the pool, stream. scene may change between calls (a new level, the play copy); the tracked set carries over, keyed by texture.

SettleToFullResolution

C++
void SettleToFullResolution()

Streams everything to full resolution and keeps the textures on their resident (now complete) image. Synchronous: the cost of turning it off.

GetManager

C++
FTextureStreamingManager& GetManager()

GetTrackedTextureCount

C++
uint32_t GetTrackedTextureCount() const

GetReducedTextureCount

C++
uint32_t GetReducedTextureCount() const

The number of textures whose resident top mip is coarser than mip 0.

Sync

C++
void Sync(Scene* scene)

Registers the textures of scene's meshes now and refreshes the instance bounds; Update does this on its own cadence.

Generated from Streaming/SceneTextureStreaming.h via game.json · Dec 5, 2026Version 1.1.0