C# Class Squared.Render.Tracing.D3D9

Afficher le fichier Open project: sq/Fracture Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat void

BeginEvent() public static méthode

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.
Résultat int

EndEvent() public static méthode

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

SetMarker() public static méthode

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.
Résultat void