protected Texture(Texture original) : base(original) { this.Identifier = original.Identifier; original.Identifier = 0; this.Size = original.Size; this.Type = original.Type; }
protected Composition(Context context, Texture texture, Depth depth, FrameBuffer frameBuffer) : base(context) { this.Size = texture.Size; this.Type = texture.Type; this.Texture = texture; this.Depth = depth; this.FrameBuffer = frameBuffer; this.Create(); this.Texture.Composition = this; this.Renderer = this.CreateRenderer(this.Context, () => this.Size, () => this.Type); }
public abstract void Create(Texture texture, Depth depth);
internal void Delete(Texture texture) { this.textureDeleteBin.Add(texture); }
internal void Recycle(Texture texture) { this.textureBin.Add(texture); }
protected internal abstract Composition CreateComposition(Texture texture);