Exemple #1
0
        public static Irefexport_t GetDriver(string driverName, bool fast)
        {
            IRef driver = null;
            int  count  = drivers.Count;

            for (int i = 0; i < count; i++)
            {
                driver = (IRef)drivers[i];
                if (driver.GetName().Equals(driverName))
                {
                    return(driver.GetRefAPI((fast) ? fastRenderer : basicRenderer));
                }
            }

            return(null);
        }