예제 #1
0
		protected Texture(Texture original) :
			base(original)
		{
			this.Identifier = original.Identifier;
			original.Identifier = 0;
			this.Size = original.Size;
			this.Type = original.Type;
		}
예제 #2
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);
		}
예제 #3
0
		public abstract void Create(Texture texture, Depth depth);
예제 #4
0
		internal void Delete(Texture texture)
		{
			this.textureDeleteBin.Add(texture);
		}
예제 #5
0
		internal void Recycle(Texture texture)
		{
			this.textureBin.Add(texture);
		}
예제 #6
0
		protected internal abstract Composition CreateComposition(Texture texture);