Inheritance: Axiom.RenderSystems.OpenGLES.GLESRTTManager
示例#1
0
		/// <summary>
		/// 
		/// </summary>
		/// <param name="name"></param>
		/// <param name="target"></param>
		/// <param name="writeGamma"></param>
		/// <param name="fsaa"></param>
		public GLESPBRenderTexture( GLESPBRTTManager manager, string name, GLESSurfaceDescription target, bool writeGamma, int fsaa )
			: base( name, target, writeGamma, fsaa )
		{
			this._manager = manager;
			this._pbFormat = PixelUtil.GetComponentType( target.Buffer.Format );
			this._manager.RequestPBuffer( _pbFormat, Width, Height );
		}
示例#2
0
 /// <summary>
 /// </summary>
 /// <param name="name"> </param>
 /// <param name="target"> </param>
 /// <param name="writeGamma"> </param>
 /// <param name="fsaa"> </param>
 public GLESPBRenderTexture(GLESPBRTTManager manager, string name, GLESSurfaceDescription target, bool writeGamma, int fsaa)
     : base(name, target, writeGamma, fsaa)
 {
     this._manager  = manager;
     this._pbFormat = PixelUtil.GetComponentType(target.Buffer.Format);
     this._manager.RequestPBuffer(this._pbFormat, Width, Height);
 }
示例#3
0
 protected override void dispose(bool disposeManagedResources)
 {
     if (!IsDisposed)
     {
         if (disposeManagedResources)
         {
             this._manager.ReleasePBuffer(this._pbFormat);
             this._manager = null;
         }
     }
     base.dispose(disposeManagedResources);
 }
示例#4
0
		protected override void dispose( bool disposeManagedResources )
		{
			if ( !IsDisposed )
			{
				if ( disposeManagedResources )
				{
					this._manager.ReleasePBuffer( _pbFormat );
					_manager = null;
				}
			}
			base.dispose( disposeManagedResources );
		}