Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    StreamingOptions Struct

    Namespace: Stride.Streaming
    Assembly: 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.

    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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

    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation