Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    QueryManager Class

    Namespace: Stride.Rendering
    Assembly: Stride.Rendering.dll
    System.Object → QueryManager
    Derived from QueryManager:

    public class QueryManager : IDisposable
    Name Description
    Constructors
    QueryManager(CommandList, GraphicsResourceAllocator)
    Methods
    BeginProfile(Color4, ProfilingKey)

    Begins profile.

    Dispose()
    EndProfile(ProfilingKey)

    Ends profile.

    Flush()
    | Improve this Doc View Source

    Constructors


    QueryManager(CommandList, GraphicsResourceAllocator)

    public QueryManager(CommandList commandList, GraphicsResourceAllocator allocator)
    Parameters
    Type Name Description
    CommandList commandList
    GraphicsResourceAllocator allocator
    | Improve this Doc View Source

    Methods


    BeginProfile(Color4, ProfilingKey)

    Begins profile.

    public QueryManager.Scope BeginProfile(Color4 profileColor, ProfilingKey profilingKey)
    Parameters
    Type Name Description
    Color4 profileColor

    The profile event color.

    ProfilingKey profilingKey

    The ProfilingKey

    Returns
    Type Description
    QueryManager.Scope

    Dispose()

    public void Dispose()

    EndProfile(ProfilingKey)

    Ends profile.

    public void EndProfile(ProfilingKey profilingKey)
    Parameters
    Type Name Description
    ProfilingKey profilingKey

    Flush()

    public void Flush()

    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