public DxgiMappedRect Map(DxgiMapOptions options)
        {
            DxgiMappedRect lockedRec;

            this.surface.Map(out lockedRec, options);
            return(lockedRec);
        }
 public DxgiMappedRect Map(DxgiMapOptions options)
 {
     DxgiMappedRect lockedRec;
     this.surface.Map(out lockedRec, options);
     return lockedRec;
 }