public static bool useUBO(IRenderingEngine re) { return(!Settings.Instance.readBool("emu.disableubo") && re.isExtensionAvailable("GL_ARB_uniform_buffer_object")); }
public virtual bool isExtensionAvailable(string name) { return(proxy.isExtensionAvailable(name)); }