public T this[int x, int y] { get { return(MapUtils <T> .GetAt(this.dataBuff, this.xRes, x, y)); } set { MapUtils <T> .SetAt(this.dataBuff, this.xRes, x, y, value); } }
protected int GetAt(IntPtr dataBuff, int x, int y) { return(MapUtils <UInt16> .GetAt(dataBuff, XRes, x, y)); }
public T this[int index] { get { return(MapUtils <T> .GetAt(this.dataBuff, index)); } set { MapUtils <T> .SetAt(this.dataBuff, index, value); } }
protected int GetAt(IntPtr dataBuff, int index) { return(MapUtils <UInt16> .GetAt(dataBuff, index)); }