Axiom.RenderSystems.OpenGL.GLHardwareOcclusionQuery.dispose C# (CSharp) 메소드

dispose() 보호된 메소드

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
리턴 void
		protected override void dispose( bool disposeManagedResources )
		{
			if ( isSupportedNV )
			{
				Gl.glDeleteOcclusionQueriesNV( 1, ref this.queryId );
			}
			else if ( isSupportedARB )
			{
				Gl.glDeleteQueriesARB( 1, ref this.queryId );
			}
			base.dispose( disposeManagedResources );
		}