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

PresentStatisticsKind

列挙型
基底型i4

メンバー 3

名前10進16進説明
PresentStatisticsKind_PresentStatus10x1統計情報は present のステータスに関するものです。
PresentStatisticsKind_CompositionFrame20x2統計情報はコンポジション フレームに関するものです。
PresentStatisticsKind_IndependentFlipFrame30x3統計情報は独立フリップ (independent flip) フレームに関するものです。

公式ドキュメント

統計情報の対象となる表示 (present) の種類を示す定数を定義します。

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

各言語での定義

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

typedef enum PresentStatisticsKind : int {
    PresentStatisticsKind_PresentStatus = 1,
    PresentStatisticsKind_CompositionFrame = 2,
    PresentStatisticsKind_IndependentFlipFrame = 3
} PresentStatisticsKind;
public enum PresentStatisticsKind : int
{
    PresentStatisticsKind_PresentStatus = 1,
    PresentStatisticsKind_CompositionFrame = 2,
    PresentStatisticsKind_IndependentFlipFrame = 3,
}
Public Enum PresentStatisticsKind As Integer
    PresentStatisticsKind_PresentStatus = 1
    PresentStatisticsKind_CompositionFrame = 2
    PresentStatisticsKind_IndependentFlipFrame = 3
End Enum
import enum

class PresentStatisticsKind(enum.IntEnum):
    PresentStatisticsKind_PresentStatus = 1
    PresentStatisticsKind_CompositionFrame = 2
    PresentStatisticsKind_IndependentFlipFrame = 3
// PresentStatisticsKind
pub const PresentStatisticsKind_PresentStatus: i32 = 1;
pub const PresentStatisticsKind_CompositionFrame: i32 = 2;
pub const PresentStatisticsKind_IndependentFlipFrame: i32 = 3;
// PresentStatisticsKind
const (
	PresentStatisticsKind_PresentStatus int32 = 1
	PresentStatisticsKind_CompositionFrame int32 = 2
	PresentStatisticsKind_IndependentFlipFrame int32 = 3
)
const
  PresentStatisticsKind_PresentStatus = 1;
  PresentStatisticsKind_CompositionFrame = 2;
  PresentStatisticsKind_IndependentFlipFrame = 3;
// PresentStatisticsKind
pub const PresentStatisticsKind_PresentStatus: i32 = 1;
pub const PresentStatisticsKind_CompositionFrame: i32 = 2;
pub const PresentStatisticsKind_IndependentFlipFrame: i32 = 3;
const
  PresentStatisticsKind_PresentStatus* = 1
  PresentStatisticsKind_CompositionFrame* = 2
  PresentStatisticsKind_IndependentFlipFrame* = 3
enum PresentStatisticsKind : int {
    PresentStatisticsKind_PresentStatus = 1,
    PresentStatisticsKind_CompositionFrame = 2,
    PresentStatisticsKind_IndependentFlipFrame = 3,
}
#define global PresentStatisticsKind_PresentStatus        0x1
#define global PresentStatisticsKind_CompositionFrame     0x2
#define global PresentStatisticsKind_IndependentFlipFrame 0x3