コード例 #1
0
ファイル: Texture.cs プロジェクト: imintsystems/Kean
		protected Texture(Texture original) :
			base(original)
		{
			this.Identifier = original.Identifier;
			original.Identifier = 0;
			this.Size = original.Size;
			this.Type = original.Type;
		}
コード例 #2
0
ファイル: Composition.cs プロジェクト: imintsystems/Kean
		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
ファイル: FrameBuffer.cs プロジェクト: imintsystems/Kean
		public abstract void Create(Texture texture, Depth depth);
コード例 #4
0
ファイル: Context.cs プロジェクト: imintsystems/Kean
		internal void Delete(Texture texture)
		{
			this.textureDeleteBin.Add(texture);
		}
コード例 #5
0
ファイル: Context.cs プロジェクト: imintsystems/Kean
		internal void Recycle(Texture texture)
		{
			this.textureBin.Add(texture);
		}
コード例 #6
0
ファイル: Context.cs プロジェクト: imintsystems/Kean
		protected internal abstract Composition CreateComposition(Texture texture);