Пример #1
0
		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);
		}
Пример #2
0
		public abstract void Create(Texture texture, Depth depth);
Пример #3
0
		protected Depth(Depth original) :
			base(original)
		{
			this.Identifier = original.Identifier;
			original.Identifier = 0;
		}
Пример #4
0
		internal void Delete(Depth depth)
		{
			this.depthBin.Add(depth);
		}