public unsafe void InitContextBuffers() { DecSetupMi(); if (!LastFrameSegMap.IsNull) { MemoryUtil.Fill(LastFrameSegMap.ToPointer(), (byte)0, MiRows * MiCols); } }
private unsafe void DecSetupMi() { Mi = Mip.Slice(MiStride + 1); MiGridVisible = MiGridBase.Slice(MiStride + 1); MemoryUtil.Fill(MiGridBase.ToPointer(), Ptr <ModeInfo> .Null, MiStride * (MiRows + 1)); }