public override void Begin() { if ( isSupportedNV ) { Gl.glBeginOcclusionQueryNV( this.queryId ); } else if ( isSupportedARB ) { Gl.glBeginQueryARB( Gl.GL_SAMPLES_PASSED_ARB, this.queryId ); } }