spec_values["use_vertex_color"] = vertex_color;
}
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
-void UnlitMaterial::attach_textures_to(Texturing &texturing, ProgramData &tex_shdata) const
-{
- attach_texture_to(texture, texturing, tex_shdata, "color_tex");
-}
-#pragma GCC diagnostic pop
-
const Texture *UnlitMaterial::get_texture(Tag tag) const
{
if(tag==texture_tags[0])
DataFile::Loader::ActionMap UnlitMaterial::Loader::shared_actions;
-UnlitMaterial::Loader::Loader(UnlitMaterial &m):
- DerivedObjectLoader<UnlitMaterial, Material::PropertyLoader<UnlitMaterial> >(m)
-{
- set_actions(shared_actions);
-}
-
UnlitMaterial::Loader::Loader(UnlitMaterial &m, Collection &c):
DerivedObjectLoader<UnlitMaterial, Material::PropertyLoader<UnlitMaterial> >(m, c)
{