Win32 API 日本語リファレンス
ホームGraphics.Direct3D12 › D3D12_QUERY_HEAP_TYPE

D3D12_QUERY_HEAP_TYPE

列挙型
基底型i4

メンバー 7

名前10進16進説明
D3D12_QUERY_HEAP_TYPE_OCCLUSION00x00 または 1 のバイナリ結果を返します。0 は深度テストおよびステンシルテストに合格したサンプルが 1 つも無いことを示し、1 は少なくとも 1 つのサンプルが深度テストおよびステンシルテストに合格したことを示します。これにより、オクルージョンクエリが深度/ステンシルテストに関連する GPU のパフォーマンス最適化を妨げないようにできます。
D3D12_QUERY_HEAP_TYPE_TIMESTAMP10x1ヒープが高性能なタイミングデータ用であることを示します。
D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS20x2ヒープがパイプラインデータを格納することを示します。D3D12_QUERY_DATA_PIPELINE_STATISTICS を参照してください。
D3D12_QUERY_HEAP_TYPE_SO_STATISTICS30x3ヒープがストリーム出力データを格納することを示します。D3D12_QUERY_DATA_SO_STATISTICS を参照してください。
D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS40x4

ヒープがビデオデコード統計データを格納することを示します。D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS を参照してください。

ビデオデコード統計は、ビデオデコードコマンドリスト (D3D12_COMMAND_LIST_TYPE_VIDEO_DECODE) からのみクエリできます。詳細については D3D12_QUERY_TYPE_DECODE_STATISTICS を参照してください。

D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP50x5

ヒープが、コピーコマンドリストからのみ発行されるタイムスタンプクエリを格納することを示します。コピーキューのタイムスタンプはコピーコマンドリストからのみクエリでき、コピーコマンドリストは通常のタイムスタンプクエリヒープに対して発行することはできません。

このクエリヒープの種類は、すべての環境でサポートされているわけではありません。アダプターがコピーキューのタイムスタンプクエリをサポートしているかどうかを判断するには、CheckFeatureSupportD3D12_FEATURE_D3D12_OPTIONS3 とともに使用する必要があります。

D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS170x7

公式ドキュメント

作成するクエリヒープの種類を指定します。

解説(Remarks)

この列挙型は D3D12_QUERY_HEAP_DESC 構造体で使用されます。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum D3D12_QUERY_HEAP_TYPE : int {
    D3D12_QUERY_HEAP_TYPE_OCCLUSION = 0,
    D3D12_QUERY_HEAP_TYPE_TIMESTAMP = 1,
    D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS = 2,
    D3D12_QUERY_HEAP_TYPE_SO_STATISTICS = 3,
    D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS = 4,
    D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP = 5,
    D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1 = 7
} D3D12_QUERY_HEAP_TYPE;
public enum D3D12_QUERY_HEAP_TYPE : int
{
    D3D12_QUERY_HEAP_TYPE_OCCLUSION = 0,
    D3D12_QUERY_HEAP_TYPE_TIMESTAMP = 1,
    D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS = 2,
    D3D12_QUERY_HEAP_TYPE_SO_STATISTICS = 3,
    D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS = 4,
    D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP = 5,
    D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1 = 7,
}
Public Enum D3D12_QUERY_HEAP_TYPE As Integer
    D3D12_QUERY_HEAP_TYPE_OCCLUSION = 0
    D3D12_QUERY_HEAP_TYPE_TIMESTAMP = 1
    D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS = 2
    D3D12_QUERY_HEAP_TYPE_SO_STATISTICS = 3
    D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS = 4
    D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP = 5
    D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1 = 7
End Enum
import enum

class D3D12_QUERY_HEAP_TYPE(enum.IntEnum):
    D3D12_QUERY_HEAP_TYPE_OCCLUSION = 0
    D3D12_QUERY_HEAP_TYPE_TIMESTAMP = 1
    D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS = 2
    D3D12_QUERY_HEAP_TYPE_SO_STATISTICS = 3
    D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS = 4
    D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP = 5
    D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1 = 7
// D3D12_QUERY_HEAP_TYPE
pub const D3D12_QUERY_HEAP_TYPE_OCCLUSION: i32 = 0;
pub const D3D12_QUERY_HEAP_TYPE_TIMESTAMP: i32 = 1;
pub const D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS: i32 = 2;
pub const D3D12_QUERY_HEAP_TYPE_SO_STATISTICS: i32 = 3;
pub const D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS: i32 = 4;
pub const D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP: i32 = 5;
pub const D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1: i32 = 7;
// D3D12_QUERY_HEAP_TYPE
const (
	D3D12_QUERY_HEAP_TYPE_OCCLUSION int32 = 0
	D3D12_QUERY_HEAP_TYPE_TIMESTAMP int32 = 1
	D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS int32 = 2
	D3D12_QUERY_HEAP_TYPE_SO_STATISTICS int32 = 3
	D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS int32 = 4
	D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP int32 = 5
	D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1 int32 = 7
)
const
  D3D12_QUERY_HEAP_TYPE_OCCLUSION = 0;
  D3D12_QUERY_HEAP_TYPE_TIMESTAMP = 1;
  D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS = 2;
  D3D12_QUERY_HEAP_TYPE_SO_STATISTICS = 3;
  D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS = 4;
  D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP = 5;
  D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1 = 7;
// D3D12_QUERY_HEAP_TYPE
pub const D3D12_QUERY_HEAP_TYPE_OCCLUSION: i32 = 0;
pub const D3D12_QUERY_HEAP_TYPE_TIMESTAMP: i32 = 1;
pub const D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS: i32 = 2;
pub const D3D12_QUERY_HEAP_TYPE_SO_STATISTICS: i32 = 3;
pub const D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS: i32 = 4;
pub const D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP: i32 = 5;
pub const D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1: i32 = 7;
const
  D3D12_QUERY_HEAP_TYPE_OCCLUSION* = 0
  D3D12_QUERY_HEAP_TYPE_TIMESTAMP* = 1
  D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS* = 2
  D3D12_QUERY_HEAP_TYPE_SO_STATISTICS* = 3
  D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS* = 4
  D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP* = 5
  D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1* = 7
enum D3D12_QUERY_HEAP_TYPE : int {
    D3D12_QUERY_HEAP_TYPE_OCCLUSION = 0,
    D3D12_QUERY_HEAP_TYPE_TIMESTAMP = 1,
    D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS = 2,
    D3D12_QUERY_HEAP_TYPE_SO_STATISTICS = 3,
    D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS = 4,
    D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP = 5,
    D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1 = 7,
}
#define global D3D12_QUERY_HEAP_TYPE_OCCLUSION               0x0
#define global D3D12_QUERY_HEAP_TYPE_TIMESTAMP               0x1
#define global D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS     0x2
#define global D3D12_QUERY_HEAP_TYPE_SO_STATISTICS           0x3
#define global D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS 0x4
#define global D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP    0x5
#define global D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1    0x7