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
/
Feature
/
Common
/
Code
/
Source
/
Decals
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
..
AsyncLoadTracker.h
more fixes
2021-08-20 10:09:44 -07:00
DecalFeatureProcessor.cpp
Changes call from AZ_TRACE to AZ_PROFILE. AZ_TRACE uses a driller bus that is going to be removed
2021-12-02 17:12:25 -08:00
DecalFeatureProcessor.h
Shorten copyright headers by splitting into 2 lines (
#2213
)
2021-07-16 15:25:48 -07:00
DecalTextureArray.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
DecalTextureArray.h
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
DecalTextureArrayFeatureProcessor.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
DecalTextureArrayFeatureProcessor.h
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