Exemple #1
0
        public static IEnumerable <ShaderVariant> GetAllVariants(this ShaderVariantCollection collection)
        {
            if (collection == null)
            {
                return(new List <ShaderVariant>());
            }

            return(collection.GetProxy().AllVariants);
        }