C# Класс Squared.Render.Tracing.D3D9

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AllowProfiling ( bool enableFlag ) : void

Set this to false to notify PIX that the target program does not give permission to be profiled.

BeginEvent ( int color, string name ) : int

Marks the beginning of a user-defined event. PIX can use this event to trigger an action.

EndEvent ( ) : int

Mark the end of a user-defined event. PIX can use this event to trigger an action.

SetMarker ( int color, string name ) : void

Mark an instantaneous event. PIX can use this event to trigger an action.

Приватные методы

Метод Описание
D3DPERF_BeginEvent ( int color, string name ) : int
D3DPERF_EndEvent ( ) : int
D3DPERF_GetStatus ( ) : int
D3DPERF_SetMarker ( int color, string wszName ) : void
D3DPERF_SetOptions ( int options ) : void

Описание методов

AllowProfiling() публичный статический Метод

Set this to false to notify PIX that the target program does not give permission to be profiled.
public static AllowProfiling ( bool enableFlag ) : void
enableFlag bool if set to true PIX profiling is authorized. Default to true.
Результат void

BeginEvent() публичный статический Метод

Marks the beginning of a user-defined event. PIX can use this event to trigger an action.
public static BeginEvent ( int color, string name ) : int
color int The Event color.
name string The Event Name.
Результат int

EndEvent() публичный статический Метод

Mark the end of a user-defined event. PIX can use this event to trigger an action.
public static EndEvent ( ) : int
Результат int

SetMarker() публичный статический Метод

Mark an instantaneous event. PIX can use this event to trigger an action.
public static SetMarker ( int color, string name ) : void
color int The color.
name string The name.
Результат void