ATOM-15326 support for image thumbnails in asset browser and thumbnail widget

This change adds support for streaming image thumbnails in the asset browser tree and thumbnail widget.

This is a prerequisite for displaying image previews inside of the material inspector.

https://jira.agscollab.com/browse/ATOM-15326

https://jira.agscollab.com/browse/ATOM-14003
This commit is contained in:
guthadam
2021-04-23 13:07:20 -05:00
parent 59ccaa9495
commit 923f234d71
9 changed files with 476 additions and 23 deletions
@@ -14,6 +14,7 @@
#include <AzCore/Module/Module.h>
#include "ImageProcessingSystemComponent.h"
#include "ImageBuilderComponent.h"
#include "Thumbnail/ImageThumbnailSystemComponent.h"
namespace ImageProcessingAtom
{
@@ -28,8 +29,9 @@ namespace ImageProcessingAtom
{
// Push results of the components' ::CreateDescriptor() into m_descriptors here.
m_descriptors.insert(m_descriptors.end(), {
ImageProcessingSystemComponent::CreateDescriptor(), //system component for editor
BuilderPluginComponent::CreateDescriptor(), //builder component for AP
Thumbnails::ImageThumbnailSystemComponent::CreateDescriptor(),
ImageProcessingSystemComponent::CreateDescriptor(), // system component for editor
BuilderPluginComponent::CreateDescriptor(), // builder component for AP
});
}
@@ -40,6 +42,7 @@ namespace ImageProcessingAtom
{
return AZ::ComponentTypeList{
azrtti_typeid<ImageProcessingSystemComponent>(),
azrtti_typeid<Thumbnails::ImageThumbnailSystemComponent>(),
};
}
};