docs.unity3d.com
    目次を表示する/隠す

    Struct ProfilingSample

    Profiling Sampler class.

    Namespace: UnityEngine.Rendering
    Syntax
    public struct ProfilingSample : IDisposable

    Constructors

    ProfilingSample(CommandBuffer, String, CustomSampler)

    Constructor

    Declaration
    public ProfilingSample(CommandBuffer cmd, string name, CustomSampler sampler = null)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command Buffer.

    String name

    Name of the profiling sample.

    CustomSampler sampler

    Custom sampler for CPU profiling.

    ProfilingSample(CommandBuffer, String, Object)

    Constructor

    Declaration
    public ProfilingSample(CommandBuffer cmd, string format, object arg)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command Buffer.

    String format

    Formating of the profiling sample.

    Object arg

    Parameters for formating the name.

    ProfilingSample(CommandBuffer, String, Object[])

    Constructor.

    Declaration
    public ProfilingSample(CommandBuffer cmd, string format, params object[] args)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command Buffer.

    String format

    Formating of the profiling sample.

    Object[] args

    Parameters for formating the name.

    Methods

    Dispose()

    Dispose pattern implementation

    Declaration
    public void Dispose()
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)