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/Tests/Material
Chris Santora 53188a12da Made StandardMultilayerPBR hide a layer's property groups when that layer is disabled.
ATOM-14688 Disable Individual Layers

- Added new SetMaterialPropertyGroupVisibility functions to the material functors.
- Updated the MaterialFunctor::EditorContext to include parameters for handling material property group metadata.
- Updated the material inspector(s) to apply the property group visiblity changes from the material functor, to hide or show the property groups.
- Moved some code from MaterialPropertyDescriptor.h/cpp to a new MaterialDynamicMetadata.h/cpp, since these aren't really related to the MaterialPropertyDescriptor code. It's more for material functors to use.
- Also fixed the casing for the "GetMaterialPropertyValue_Image" lua function, since I was already in this code (ATOM-14793 "Fix Inconsistent Casing For LuaMaterialFunctorRuntimeContext")

Tested in MaterialEditor and in in the main Editor's MaterialComponent property override inspector.
5 years ago
..
LuaMaterialFunctorTests.cpp Made StandardMultilayerPBR hide a layer's property groups when that layer is disabled. 5 years ago
MaterialAssetTestUtils.cpp Initial commit 5 years ago
MaterialAssetTestUtils.h Initial commit 5 years ago
MaterialAssetTests.cpp Initial commit 5 years ago
MaterialFunctorSourceDataSerializerTests.cpp Initial commit 5 years ago
MaterialFunctorTests.cpp Initial commit 5 years ago
MaterialPropertySerializerTests.cpp Made StandardMultilayerPBR hide a layer's property groups when that layer is disabled. 5 years ago
MaterialPropertyValueSourceDataTests.cpp Initial commit 5 years ago
MaterialSourceDataTests.cpp Initial commit 5 years ago
MaterialTests.cpp Initial commit 5 years ago
MaterialTypeAssetTests.cpp Initial commit 5 years ago
MaterialTypeSourceDataTests.cpp Initial commit 5 years ago