public static Sampler Get(string name) { IntPtr nativeSampler = ProfilerUnsafeUtility.GetMarker(name); if (nativeSampler == IntPtr.Zero) { return(s_InvalidSampler); } return(new Sampler(nativeSampler)); }
public static Sampler Get(string name) { IntPtr nativeSampler = ProfilerUnsafeUtility.GetMarker(name); if (nativeSampler == IntPtr.Zero) { return(s_InvalidSampler); } return(new Sampler(nativeSampler)); }