Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IContentable Interface

    Namespace: Stride.Games
    Assembly: Stride.Games.dll

    An interface to load and unload asset.

    public interface IContentable
    Name Description
    Methods
    LoadContent()

    Loads the assets.

    UnloadContent()

    Called when graphics resources need to be unloaded. Override this method to unload any game-specific graphics resources.

    | Improve this Doc View Source

    Methods


    LoadContent()

    Loads the assets.

    void LoadContent()

    UnloadContent()

    Called when graphics resources need to be unloaded. Override this method to unload any game-specific graphics resources.

    void UnloadContent()

    Extension Methods

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

    Back to top

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