/// <summary> /// Constructor /// </summary> /// <param name="parent"></param> internal GpuMatIndexer(GpuMat parent) { this.parent = parent; this.step = parent.Step(); this.sizeOfT = MarshalHelper.SizeOf <T>(); }
/// <summary> /// Constructor /// </summary> /// <param name="parent"></param> internal GpuMatIndexer(GpuMat parent) { this.parent = parent; this.step = parent.Step(); this.sizeOfT = Marshal.SizeOf(typeof(T)); }