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);
protected Depth(Depth original) : base(original) { this.Identifier = original.Identifier; original.Identifier = 0; }
internal void Delete(Depth depth) { this.depthBin.Add(depth); }