Table of Contents

Class TextureStreamingManager

Namespace
Map.Rendering
Assembly
MapAssembly.dll

Manages texture streaming for very large maps (>10k provinces) Task 1.3: Add texture streaming for very large maps (>10k provinces) Uses tile-based streaming to handle massive maps efficiently

public class TextureStreamingManager : MonoBehaviour
Inheritance
object
TextureStreamingManager

Methods

GetStreamingStatistics()

Get streaming statistics

public string GetStreamingStatistics()

Returns

string

Initialize(MapTextureManager, Camera)

Initialize streaming system

public void Initialize(MapTextureManager manager, Camera camera = null)

Parameters

manager MapTextureManager
camera Camera

IsTextureCoordLoaded(int2)

Check if a texture coordinate is currently loaded

public bool IsTextureCoordLoaded(int2 textureCoord)

Parameters

textureCoord int2

Returns

bool