This website requires JavaScript.
Explore
Help
Sign In
birkeh
/
o3de
Watch
1
Star
0
Fork
0
You've already forked o3de
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
Files
cdcf8defd03dbabbbd2d9538ed81eae068faf08a
o3de
/
Gems
/
Atom
/
RPI
/
Code
/
Source
/
RPI.Builders
/
Material
T
History
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
>
2022-01-18 17:39:44 -08:00
..
MaterialBuilder.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.
2022-01-18 17:39:44 -08:00
MaterialBuilder.h
Changed material builder to not fail on warnings.
2021-11-11 12:50:17 -08:00