public bool TryGetOverridePropertyValue(Material material, int id, out ShaderPropertyOverride propertyOverride)
        {
            if (m_MaterialToOverrideList.TryGetValue(material, out var propertyOverrideList) &&
                propertyOverrideList.TryGetOverride(id, out propertyOverride))
            {
                return(true);
            }

            propertyOverride = null;
            return(false);
        }
        public bool TryGetOverridePropertyValue(Shader shader, int id, out ShaderPropertyOverride propertyOverride)
        {
            if (m_ShaderToOverrideList.TryGetValue(shader, out var propertyOverrideList) &&
                propertyOverrideList.TryGetOverride(id, out propertyOverride))
            {
                return(true);
            }

            propertyOverride = null;
            return(false);
        }
 public bool TryGetOverridePropertyValue(Shader shader, string name, out ShaderPropertyOverride propertyOverride)
 {
     return(TryGetOverridePropertyValue(shader, Shader.PropertyToID(name), out propertyOverride));
 }
 public bool TryGetOverridePropertyValue(Material material, string name, out ShaderPropertyOverride propertyOverride)
 {
     return(TryGetOverridePropertyValue(material, Shader.PropertyToID(name), out propertyOverride));
 }