StreamingOptions Struct
Namespace: Stride.StreamingAssembly: Stride.Rendering.dll
Available options when streaming a resource.
public struct StreamingOptions
| Name | Description | |
|---|---|---|
| Fields | ||
| Default | The default steaming options: KeepLoaded=false, ForceHighestQuality=false, LoadImmediately=false |
|
| DoNotStream | Do not stream the texture always keep it to the higest quality |
|
| ForceHighestQuality | Force the resource to be loaded at highest quality. |
|
| IgnoreResource | Do not update the resource data |
|
| KeepLoaded | Keep the resource loaded even if not rendered on the screen. |
|
| LoadAtOnce | Request the immediate loading of the resource to its highest level of quality. |
|
| LoadImmediately | Block the execution flow and load the resource up to maximum quality synchronously. |
|
| Methods | ||
| CombineWith(StreamingOptions) | Merge and return the combination of two streaming options for a same resource. |
|
Fields
Default
The default steaming options: KeepLoaded=false, ForceHighestQuality=false, LoadImmediately=false
public static StreamingOptions Default
Field Value
| Type | Description |
|---|---|
| StreamingOptions |
DoNotStream
Do not stream the texture always keep it to the higest quality
public static StreamingOptions DoNotStream
Field Value
| Type | Description |
|---|---|
| StreamingOptions |
ForceHighestQuality
Force the resource to be loaded at highest quality.
public bool ForceHighestQuality
Field Value
| Type | Description |
|---|---|
| System.Boolean |
IgnoreResource
Do not update the resource data
public bool IgnoreResource
Field Value
| Type | Description |
|---|---|
| System.Boolean |
KeepLoaded
Keep the resource loaded even if not rendered on the screen.
public bool KeepLoaded
Field Value
| Type | Description |
|---|---|
| System.Boolean |
LoadAtOnce
Request the immediate loading of the resource to its highest level of quality.
public static StreamingOptions LoadAtOnce
Field Value
| Type | Description |
|---|---|
| StreamingOptions |
LoadImmediately
Block the execution flow and load the resource up to maximum quality synchronously.
public bool LoadImmediately
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
CombineWith(StreamingOptions)
Merge and return the combination of two streaming options for a same resource.
public StreamingOptions CombineWith(StreamingOptions other)
Parameters
| Type | Name | Description |
|---|---|---|
| StreamingOptions | other |
Returns
| Type | Description |
|---|---|
| StreamingOptions |