def _set_use_330(self, use_330):
        """
        Use shader version 330. We already enable it in shader. So don't call this API
        Args:
            use_330:

        Returns:

        """
        if use_330 is not None:
            self.use_330 = use_330
        else:
            self.use_330 = False

            cvar = p3d.ConfigVariableInt('gl-version')
            gl_version = [cvar.get_word(i) for i in range(cvar.get_num_words())]
            if len(gl_version) >= 2 and gl_version[0] >= 3 and gl_version[1] >= 2:
                # Not exactly accurate, but setting this variable to '3 2' is common for disabling
                # the fixed-function pipeline and 3.2 support likely means 3.3 support as well.
                self.use_330 = True

        Use shader version 330. We already enable it in shader. So don't call this API
        Args:
            use_330:

        Returns:

        
metadrive/third_party/simplepbr/__init__.py