C# Class Squared.Render.Tracing.D3D9

显示文件 Open project: sq/Fracture Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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

Method Details

AllowProfiling() public static method

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.
return void

BeginEvent() public static method

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.
return int

EndEvent() public static method

Mark the end of a user-defined event. PIX can use this event to trigger an action.
public static EndEvent ( ) : int
return int

SetMarker() public static method

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.
return void