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
santorac 45429872d6 Switched back to making MaterialAsset::GetPropertyValues automatically finalize the material asset. I realized that it's too burdensome to expect client code to call Finalize on the MaterialAsset; every code that calls GetPropertyValues would have to call Finalize(). Instead of using const_cast in GetPropertyValues like I was doing before, I just changed GetPropertyValues to be a non-const function. There were a few places in Decal code I had to update to pass non-const MaterialAsset pointers. This isn't ideal, but I think it's better than the alternatives.
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
4 years ago
..
LuaMaterialFunctorTests.cpp Got the unit tests working again. 4 years ago
MaterialAssetTestUtils.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
MaterialAssetTestUtils.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
MaterialAssetTests.cpp Switched back to making MaterialAsset::GetPropertyValues automatically finalize the material asset. I realized that it's too burdensome to expect client code to call Finalize on the MaterialAsset; every code that calls GetPropertyValues would have to call Finalize(). Instead of using const_cast in GetPropertyValues like I was doing before, I just changed GetPropertyValues to be a non-const function. There were a few places in Decal code I had to update to pass non-const MaterialAsset pointers. This isn't ideal, but I think it's better than the alternatives. 4 years ago
MaterialFunctorSourceDataSerializerTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
MaterialFunctorTests.cpp Got the unit tests working again. 4 years ago
MaterialPropertySerializerTests.cpp Added backward-compatible support for the old "id" key in material type files, which is being renamed to "name". 5 years ago
MaterialPropertyValueSourceDataTests.cpp Gems/Atom 5 years ago
MaterialSourceDataTests.cpp Switched back to making MaterialAsset::GetPropertyValues automatically finalize the material asset. I realized that it's too burdensome to expect client code to call Finalize on the MaterialAsset; every code that calls GetPropertyValues would have to call Finalize(). Instead of using const_cast in GetPropertyValues like I was doing before, I just changed GetPropertyValues to be a non-const function. There were a few places in Decal code I had to update to pass non-const MaterialAsset pointers. This isn't ideal, but I think it's better than the alternatives. 4 years ago
MaterialTests.cpp Got the unit tests working again. 4 years ago
MaterialTypeAssetTests.cpp Made material property auto-rename procedure apply to Material Component at runtime. This ensures that an material property overrides and any gameplay scripts that work with property overrides can get the benefit of the material type version update procedure. 4 years ago
MaterialTypeSourceDataTests.cpp Fixed a bug where material version updates didn't support moving a property from one group to another. 4 years ago