public LoadData ( ContentRef |
||
basePixmap | ContentRef |
The |
return | void |
protected override void OnCopyDataTo(object target, ICloneOperation operation) { base.OnCopyDataTo(target, operation); Texture c = target as Texture; c.LoadData(this.basePixmap, this.texSizeMode); }
protected override void OnCopyTo(Resource r, Duality.Cloning.CloneProvider provider) { base.OnCopyTo(r, provider); Texture c = r as Texture; c.size = this.size; c.filterMag = this.filterMag; c.filterMin = this.filterMin; c.wrapX = this.wrapX; c.wrapY = this.wrapY; c.pixelformat = this.pixelformat; c.LoadData(this.basePixmap, this.texSizeMode); }