public override void End() { if ( isSupportedNV ) { Gl.glEndOcclusionQueryNV(); } else if ( isSupportedARB ) { Gl.glEndQueryARB( Gl.GL_SAMPLES_PASSED_ARB ); } }