StreamingSettings Class
Namespace: Stride.StreamingAssembly: Stride.Rendering.dll
[DataContract]
[Display("Streaming", null)]
public sealed class StreamingSettings : Configuration
Name | Description | |
---|---|---|
Properties | ||
Enabled | Gets or sets a value indicating whether resource streaming should be disabled. |
|
ManagerUpdatesInterval | The interval between StreamingManager updates. |
|
MaxResourcesPerUpdate | The maximum number of resources updated per streaming manager tick. Used to balance performance/streaming speed. |
|
ResourceLiveTimeout | The StreamableResource live timeout. Resources that aren't used for a while are downscaled in quality. |
|
TargetedMemoryBudget | The targeted memory budget of the streaming system in MB. If the memory allocated by streaming system is under this budget it will not try to unload not visible resources. |
Properties
Enabled
Gets or sets a value indicating whether resource streaming should be disabled.
[DataMember]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
See Also
ManagerUpdatesInterval
The interval between StreamingManager updates.
[DataMember]
[Display("Update interval", null)]
[DataMemberRange(0.001, 3)]
public TimeSpan ManagerUpdatesInterval { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
See Also
MaxResourcesPerUpdate
The maximum number of resources updated per streaming manager tick. Used to balance performance/streaming speed.
[DataMember]
[Display("Max resources per update", null)]
[DataMemberRange(1, 0)]
public int MaxResourcesPerUpdate { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
See Also
ResourceLiveTimeout
The StreamableResource live timeout. Resources that aren't used for a while are downscaled in quality.
[DataMember]
[Display("Resource timeout (ms)", null)]
[DataMemberRange(0, 3)]
public TimeSpan ResourceLiveTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
See Also
TargetedMemoryBudget
The targeted memory budget of the streaming system in MB. If the memory allocated by streaming system is under this budget it will not try to unload not visible resources.
[DataMember]
[Display("Memory budget (in MB)", null)]
[DataMemberRange(0, 0)]
public int TargetedMemoryBudget { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |