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/AtomLyIntegration/CommonFeatures/Code/Source/Thumbnails/Rendering/ThumbnailRendererSteps
Qing Tao d9cbc97ec0
ATOM-16063 Remove SetShaderResourceGroupCallback in scene and update scene srg handling (#3969)
ATOM-16273 Compiling SceneSRG before updating it can cause a gpu crash

Changes include:
1. Removed Scene::SetShaderResourceGroupCallback() function and clean up code which use this function.
2. Moved SceneTimeSrg.azsli to RPI's DefaultSceneSrg folder and setup the constants in RPI::Scene
3. Add AZ::Event for Scene's update srg event which features and update scene srg at proper place
4. UpdateTransformServcie FP to use PrepareSceneSrg event handler.
5. Clean up shaders and srgs used in project templates.

Signed-off-by: Qing Tao <qingtao@amazon.com>
4 years ago
..
CaptureStep.cpp ATOM-16063 Remove SetShaderResourceGroupCallback in scene and update scene srg handling (#3969) 4 years ago
CaptureStep.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FindThumbnailToRenderStep.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FindThumbnailToRenderStep.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
InitializeStep.cpp ATOM-16063 Remove SetShaderResourceGroupCallback in scene and update scene srg handling (#3969) 4 years ago
InitializeStep.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ReleaseResourcesStep.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ReleaseResourcesStep.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ThumbnailRendererStep.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
WaitForAssetsToLoadStep.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
WaitForAssetsToLoadStep.h Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago