Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GraphicsResourceLink Class

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

    A resource allocated by GraphicsResourceAllocator providing allocation informations.

    System.Object → GraphicsResourceLink
    Derived from GraphicsResourceLink:

    public sealed class GraphicsResourceLink
    Name Description
    Properties
    AccessCountSinceLastRecycle

    Gets the access count since last recycle policy was run.

    AccessTotalCount

    Gets the total count of access to this resource (include Increment and Decrement)

    LastAccessTime

    Gets the last time this resource was accessed.

    ReferenceCount

    The number of active reference to this resource.

    Resource

    The graphics resource.

    | Improve this Doc View Source

    Properties


    AccessCountSinceLastRecycle

    Gets the access count since last recycle policy was run.

    public long AccessCountSinceLastRecycle { get; }
    Property Value
    Type Description
    System.Int64

    The access count since last recycle.


    AccessTotalCount

    Gets the total count of access to this resource (include Increment and Decrement)

    public long AccessTotalCount { get; }
    Property Value
    Type Description
    System.Int64

    The access total count.


    LastAccessTime

    Gets the last time this resource was accessed.

    public DateTime LastAccessTime { get; }
    Property Value
    Type Description
    System.DateTime

    The last access time.


    ReferenceCount

    The number of active reference to this resource.

    public int ReferenceCount { get; }
    Property Value
    Type Description
    System.Int32

    Resource

    The graphics resource.

    public GraphicsResourceBase Resource { get; }
    Property Value
    Type Description
    GraphicsResourceBase

    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