---
title: レンダリングプロファイラーモジュールリファレンス
product: Unity Editor
version: '6000.0'
latest_version: '7000.0'
status: This page documents version 6000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/ja-jp/engine/6000.0/manual/analysis/graphics-performance-profiling/profile-rendering/profiler-rendering
latest_url: https://docs.unity.com/ja-jp/engine/7000.0/manual/analysis/graphics-performance-profiling/profile-rendering/profiler-rendering.md
last_updated: 2026-10-30
generated_at: 2026-11-16T18:51:41.393Z
locale: ja-jp
---

# レンダリングプロファイラーモジュールリファレンス

> レンダリングプロファイラーモジュールのリファレンス。シーンをレンダリングするために CPU と GPU が行う処理に関するレンダリング統計と情報を表示します。

レンダリングプロファイラーは、シーンをレンダリングするために CPU と GPU が行う処理に関するレンダリング統計と情報を表示します。これらの統計を使用して、シーンのさまざまな領域のリソース強度を測定でき、最適化に役立ちます。

プロファイラー ウィンドウを開くには、メニュー (メニュー) に移動します。**ウィンドウ> 分析> プロファイラー**。

チャートには、アプリケーションがレンダリングしたバッチ、セットパス呼び出し、三角形、および頂点の数が表示されます。下方のペインには、レンダリング統計がさらに表示されます。これらの統計は、ゲームビューの[レンダリング統計](/engine/6000.0/manual/analysis/graphics-performance-profiling/profiling/rendering-statistics.md)ウィンドウに表示されているものと一致します。


**The Rendering Profiler module:**
![](/api/media?file=/engine/6000.0/media/images/RenderProfiler.png)

レンダリングプロファイラーモジュールのチャートは、以下のカテゴリに分かれています。

| **グラフ**                  | **説明**                                                                                                                                               |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| **バッチ数**                 | フレーム中に Unity が処理した[バッチ](/engine/6000.0/manual/analysis/graphics-performance-profiling/reduce-draw-calls/draw-call-batching/draw-call-batching.md)の数。 |
| **SetPass Calls Count**  | Unity がフレーム中にGameObjectsオブジェクトのレンダリングするに使用するシェーダーを切り替えた回数。シェーダーには複数のシェーダーパスが含まれている場合があり、パスごとにシーン内の GameObjects のレンダリングが異なります。                        |
| **Triangles Count**      | フレーム中に Unity が処理した[三角形](ScriptRef:Mesh-triangle)の数。                                                                                                  |
| **Vertices Count** (頂点数) | フレーム中に Unity が処理した[頂点](/engine/6000.0/script-reference/unityengine/mesh/vertices.md)の数。                                                              |

## モジュール詳細ペイン##module-details-pane

レンダリングプロファイラーモジュールをクリックすると、ウィンドウの下半分にある詳細ペインに詳細なレンダリング統計が表示されます。これらの統計は、[レンダリング統計](/engine/6000.0/manual/analysis/graphics-performance-profiling/profiling/rendering-statistics.md)ウィンドウに表示される統計に似ています。

詳細ペインの左上で、「フレームデバッガーを開く」を選択して[フレームデバッガー](/engine/6000.0/manual/analysis/graphics-performance-profiling/profile-rendering/frame-debugger/frame-debugger.md)を開きます。フレームをレンダリングした個々のドローコールに関する情報が表示されます。

これらの統計は、[ProfilerRecorder API](/engine/6000.0/script-reference/unity/profiling/profilerrecorder.md) と[プロファイラーモジュールエディタ](/engine/6000.0/manual/analysis/profiler/customizing/creating-custom-modules/module-editor.md)でも取得できるため、カスタムプロファイラーモジュールに追加できます。

| **統計**                       | **説明**                                                                                                                                                                          | **リリースプレイヤーでアクセス可能** |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| **SetPass コール**              | Unity がフレーム中にGameObjectsオブジェクトのレンダリングするに使用するシェーダーを切り替えた回数。シェーダーには複数のシェーダーパスが含まれている場合があり、パスごとにシーン内の GameObjects のレンダリングが異なります。                                                   | はい                   |
| **描画呼び出し**                   | Unity がフレーム中に発行した描画コールの総数。Unity はGameObjectsオブジェクトを画面にレンダリングするときにドローコールを描画します。この数には、バッチ処理されていない描画呼び出し、動的および静的バッチ処理描画呼び出しが含まれます。                                                 | はい                   |
| **バッチ**                      | フレーム中に Unity が処理した[バッチ](/engine/6000.0/manual/analysis/graphics-performance-profiling/reduce-draw-calls/draw-call-batching/draw-call-batching.md)の総数。この数には静的バッチと動的バッチの両方が含まれます。 | はい                   |
| **三角形**                      | フレーム中に Unity が処理した[三角形](/engine/6000.0/script-reference/unityengine/mesh/triangles.md)の数。                                                                                       | はい                   |
| **頂点**                       | Unity がフレーム中に処理した[頂点](/engine/6000.0/script-reference/unityengine/mesh/vertices.md)の数。                                                                                          | はい                   |
| **(動的バッチ処理)**                | このセクションでは、[動的バッチ処理](/engine/6000.0/manual/analysis/graphics-performance-profiling/reduce-draw-calls/draw-call-batching/draw-call-batching.md)に関する統計を示します。                       | いいえ                  |
| バッチ描画呼び出し                    | Unity が動的バッチにまとめた描画呼び出しの数。                                                                                                                                                      | いいえ                  |
| バッチ                          | Unity がフレーム中に処理した動的バッチの数。                                                                                                                                                       | いいえ                  |
| 三角形                          | 動的バッチに含まれる GameObjects の三角形の数。                                                                                                                                                  | いいえ                  |
| 頂点                           | 動的バッチに含まれる GameObjects の頂点数。                                                                                                                                                    | いいえ                  |
| Time (期間)                    | Unity が動的バッチ処理構造の作成に費やした時間。                                                                                                                                                     | いいえ                  |
| **(静的バッチ処理)**                | このセクションでは、[静的バッチ処理](/engine/6000.0/manual/analysis/graphics-performance-profiling/reduce-draw-calls/draw-call-batching/draw-call-batching.md)に関する統計を示します。                       | いいえ                  |
| バッチ描画呼び出し                    | Unity が静的バッチにまとめた描画呼び出しの数。                                                                                                                                                      | いいえ                  |
| バッチ                          | Unity がフレーム中に処理した静的バッチの数。                                                                                                                                                       | いいえ                  |
| 三角形                          | 静的バッチに含まれる GameObjects の三角形の数。                                                                                                                                                  | いいえ                  |
| 頂点                           | 静的バッチに含まれる GameObjects の頂点数。                                                                                                                                                    | いいえ                  |
| **(インスタンス)**                 | このセクションでは、[GPUインスタンシング](/engine/6000.0/manual/analysis/graphics-performance-profiling/reduce-draw-calls/gpuinstancing/gpuinstancing.md)に関する統計を示します。                             | いいえ                  |
| バッチ描画呼び出し                    | Unity がインスタンスのバッチに組み合わせた描画呼び出しの数。                                                                                                                                               | いいえ                  |
| バッチ                          | 1 フレーム中[にインスタンス化](/engine/6000.0/manual/analysis/graphics-performance-profiling/reduce-draw-calls/gpuinstancing/gpuinstancing.md)された GameObjects をレンダリングするために Unity が処理したバッチの数。 | いいえ                  |
| 三角形                          | インスタンス化された GameObjects の三角形の数。                                                                                                                                                  | いいえ                  |
| 頂点                           | インスタンス化された GameObjects の頂点数。                                                                                                                                                    | いいえ                  |
| **Used Textures** （使用テクスチャ）  | Unity がフレーム中に使用し[たテクスチャ](/engine/6000.0/manual/materials-and-shaders/textures/textures-getting-started/textures.md)の数と、テクスチャが使用したメモリ量。                                          | いいえ                  |
| **レンダリングするテクスチャ**            | Unity がフレーム中に使用し[たレンダーテクスチャ](/engine/6000.0/manual/materials-and-shaders/textures/textures-reference/class-render-texture.md)の数と、レンダーテクスチャが使用したメモリ量。                            | はい                   |
| **テクスチャの変更をレンダリングする**        | Unity がフレーム中に 1 つまたは複数のレンダーテクスチャをレンダリングするターゲットとして設定した回数。                                                                                                                        | はい                   |
| **Used Buffers** (使用済みバッファ)  | GPU バッファとそれらが使用したメモリの合計数。これには、頂点、インデックス、演算バッファ、およびレンダリングに必要なすべての内部バッファが含まれます。                                                                                                   | はい                   |
| **フレームでの頂点バッファアップロード**       | CPU がフレーム内で GPU にアップロードしたジオメトリの量。これは頂点/法線/テク座標データを表します。GPU にすでにジオメトリがある場合があります。この統計には、Unity がフレーム内で転送するジオメトリのみが含まれます。                                                           | はい                   |
| **インデックス バッファ アップロードのフレーム数** | CPU がフレーム内で GPU にアップロードしたジオメトリの量。これは三角形形のインデックデータを表します。GPU にすでにジオメトリがある場合があります。この統計には、Unity がフレーム内で転送するジオメトリのみが含まれます。                                                           | はい                   |
| **影落としの数**                   | フレーム内で影を落とす GameObjects の数。ゲームオブジェクトが複数の影を投影する場合 (複数のライトがライトを照らすため)、投影する影ごとに 1 エントリーを持ちます。                                                                                      | はい                   |

## プレイヤーでの可用性##availability-in-players

レンダリングモジュールのプロファイラーカウンターは、Players でも使用可能です。[ProfilerRecorder API](/engine/6000.0/script-reference/unity/profiling/profilerrecorder.md) を使用して、プレイヤーでレンダリングするプロファイラーモジュール情報にアクセスします。高レベルのカウンタはリリースプレイヤーでも使用できます。

以下の例には、`SetPass Calls Count`、`Draw Calls Count`、`Vertices Count` メトリクスを収集し、それらを TextArea として表示する簡単なスクリプトが含まれています。

```language-csharp
using System.Text;
using Unity.Profiling;
using UnityEngine;
 
public class RenderStatsScript :MonoBehaviour
{
    string statsText;
    ProfilerRecorder setPassCallsRecorder;
    ProfilerRecorder drawCallsRecorder;
    ProfilerRecorder verticesRecorder;

    void OnEnable()
    {
        setPassCallsRecorder = ProfilerRecorder.StartNew(ProfilerCategory.Render, "SetPass Calls Count");
        drawCallsRecorder = ProfilerRecorder.StartNew(ProfilerCategory.Render, "Draw Calls Count");
        verticesRecorder = ProfilerRecorder.StartNew(ProfilerCategory.Render, "Vertices Count");
    }
 
    void OnDisable()
    {
        setPassCallsRecorder.Dispose();
        drawCallsRecorder.Dispose();
        verticesRecorder.Dispose();
    }

    void Update()
    {
        var sb = new StringBuilder(500);
        if (setPassCallsRecorder.Valid)
            sb.AppendLine($"SetPass Calls: {setPassCallsRecorder.LastValue}");
        if (drawCallsRecorder.Valid)
            sb.AppendLine($"Draw Calls: {drawCallsRecorder.LastValue}");
        if (verticesRecorder.Valid)
            sb.AppendLine($"Vertices: {verticesRecorder.LastValue}");
        statsText = sb.ToString();
    }
 
    void OnGUI()
    {
        GUI.TextArea(new Rect(10, 30, 250, 50), statsText);
    }
}
```

レンダリングプロファイラーモジュールの情報は、[ProfilerCategory.レンダリング](/engine/6000.0/script-reference/unity/profiling/profilercategory/render.md)するプロファイラーカテゴリに属します。

カスタムモジュールで選択したレンダリングカウンターを強調表示する場合は、[モジュールエディタ](/engine/6000.0/manual/analysis/profiler/customizing/creating-custom-modules/module-editor.md)を使用してチャートと詳細ビューを設定します。

## 追加リソース##additional-resources

* [プロファイラーウィンドウの概要](/engine/6000.0/manual/analysis/profiler/window.md)
* [アプリケーションのプロファイリング](/engine/6000.0/manual/analysis/profiler/profiling-applications.md)
