Class Streaming
The content streaming service.
Inheritance
System.Object
Streaming
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public static class Streaming : Object
Properties
Stats
Gets streaming statistics.
Declaration
[Unmanaged]
public static StreamingStats Stats { get; }
Property Value
StreamingStats
|
TextureGroups
Textures streaming configuration (per-group).
Declaration
[Unmanaged]
public static TextureGroup[] TextureGroups { get; set; }
Property Value
TextureGroup[]
|
Methods
GetTextureGroupSampler(Int32)
Gets the texture sampler for a given texture group. Sampler objects is managed and cached by streaming service. Returned value is always valid (uses fallback object).
Declaration
[Unmanaged]
public static GPUSampler GetTextureGroupSampler(int index)
Parameters
System.Int32
index
The texture group index. |
Returns
GPUSampler
The texture sampler (always valid). |
RequestStreamingUpdate()
Requests the streaming update for all the loaded resources. Use it to refresh content streaming after changing configuration.
Declaration
[Unmanaged]
public static void RequestStreamingUpdate()