protected Composition(Composition original) : base(original) { this.Size = original.Size; this.Type = original.Type; this.Texture = original.Texture.Refurbish(); this.Texture.Composition = this; original.Texture.Composition = null; original.Texture = null; this.Depth = original.Depth.Refurbish(); original.Depth = null; this.FrameBuffer = original.FrameBuffer.Refurbish(); original.FrameBuffer = null; this.Renderer = original.Renderer.Refurbish(); original.Renderer = null; }
internal void Recycle(Composition composition) { this.compositionBin.Add(composition); }