Пример #1
0
 public static void AllowProfiling(bool enableFlag)
 {
     PixHelper.D3DPERF_SetOptions(enableFlag ? 0 : 1);
 }
Пример #2
0
 public static void SetMarker(Color color, string name, params object[] parameters)
 {
     PixHelper.D3DPERF_SetMarker(color.ToBgra(), string.Format(name, parameters));
 }
Пример #3
0
 public static void SetMarker(Color color, string name)
 {
     PixHelper.D3DPERF_SetMarker(color.ToBgra(), name);
 }
Пример #4
0
 public static int EndEvent()
 {
     return(PixHelper.D3DPERF_EndEvent());
 }
Пример #5
0
 public static int BeginEvent(Color color, string name, params object[] parameters)
 {
     return(PixHelper.D3DPERF_BeginEvent(color.ToBgra(), string.Format(name, parameters)));
 }
Пример #6
0
 public static int BeginEvent(Color color, string name)
 {
     return(PixHelper.D3DPERF_BeginEvent(color.ToBgra(), name));
 }