コード例 #1
0
 public void GPU_StartProfilingBlock(string blockName = null, float customValue = 0, [CallerMemberName] string member = "", [CallerLineNumber] int line = 0, [CallerFilePath] string file = "")
 {
     GpuProfiler.StartBlock(blockName, member, line, file);
 }
コード例 #2
0
 public void GPU_EndProfilingBlock(float customValue = 0, MyTimeSpan?customTime = null, string timeFormat = null, string valueFormat = null, [CallerMemberName] string member = "", [CallerLineNumber] int line = 0, [CallerFilePath] string file = "")
 {
     GpuProfiler.EndBlock(member, line, file, customTime, customValue, timeFormat, valueFormat);
 }
コード例 #3
0
ファイル: GpuProfiler.cs プロジェクト: ifshuaishuai/HWCPipe
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GpuProfiler obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }