You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Gems/Atom/RPI/Code/Source/RPI.Edit/Material
santorac c2abd2d74f Updated the naming convention for material property "names" vs "IDs".
A "property name" is the name of the just the property without regard to the group that it's in. A "group name" is the name of the group. And a "property ID" is the full unique name of a property in the form "groupName.propertyName". This is important preparation for upcoming changes where property sets can contain other property sets, and property IDs can be arbitrarily long like "layer1.baseColor.factor" for example.

The naming changes include variables, some code comments, and the .materialtype file format. I was able to make these changes in a backward compatible way so a property or group "id" field has been replaced with a "name" field, but "id" is still supported for compatibility. StandardPBR, EnhancedPBR, StandardMultilayerPBR, and Skin have all been updated. Note that MinimalPBR has not been updated, proving that backward compatibility works. (We can update this one too at some point though).

Testing:
Opened up materials in the material editor.
Ran AtomSampleViewer in dx12 and vulkan with no new failures.

Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
4 years ago
..
LuaMaterialFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialFunctorSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialFunctorSourceDataRegistration.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialFunctorSourceDataSerializer.cpp move JsonUtils to AzCore 4 years ago
MaterialPropertyId.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialPropertySerializer.cpp Updated the naming convention for material property "names" vs "IDs". 4 years ago
MaterialPropertyValueSerializer.cpp Updated the naming convention for material property "names" vs "IDs". 4 years ago
MaterialPropertyValueSourceData.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialPropertyValueSourceDataSerializer.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
MaterialSourceData.cpp Add material property names to material assets, disable FBX dependency on materialtype files. (#3408) 4 years ago
MaterialSourceDataSerializer.cpp Renamed AtomMaxFileSize to DefaultMaxFileSize (#4067) 4 years ago
MaterialTypeSourceData.cpp Updated the naming convention for material property "names" vs "IDs". 4 years ago
MaterialUtils.cpp Renamed AtomMaxFileSize to DefaultMaxFileSize (#4067) 4 years ago