Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ITexturesStreamingProvider Interface

    Namespace: Stride.Graphics.Data
    Assembly: Stride.Graphics.dll

    Used internally to find the currently active textures streaming service

    public interface ITexturesStreamingProvider
    Name Description
    Methods
    FullyLoadTexture(Texture, ref ImageDescription, ref ContentStorageHeader)

    Loads the texture in a streaming service.

    RegisterTexture(Texture, ref ImageDescription, ref ContentStorageHeader)

    Registers the texture in a streaming service.

    UnregisterTexture(Texture)

    Unregisters the texture.

    | Improve this Doc View Source

    Methods


    FullyLoadTexture(Texture, ref ImageDescription, ref ContentStorageHeader)

    Loads the texture in a streaming service.

    void FullyLoadTexture(Texture obj, ref ImageDescription imageDescription, ref ContentStorageHeader storageHeader)
    Parameters
    Type Name Description
    Texture obj

    The texture object.

    ImageDescription imageDescription

    The image description.

    ContentStorageHeader storageHeader

    The storage header.


    RegisterTexture(Texture, ref ImageDescription, ref ContentStorageHeader)

    Registers the texture in a streaming service.

    void RegisterTexture(Texture obj, ref ImageDescription imageDescription, ref ContentStorageHeader storageHeader)
    Parameters
    Type Name Description
    Texture obj

    The texture object.

    ImageDescription imageDescription

    The image description.

    ContentStorageHeader storageHeader

    The storage header.


    UnregisterTexture(Texture)

    Unregisters the texture.

    void UnregisterTexture(Texture obj)
    Parameters
    Type Name Description
    Texture obj

    The texture object.


    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