ATOM-16237 Using setting registry to RPI system settings (#3663)
* ATOM-16237 Using setting registry to RPI system settings Changes include: - Remove RHISystemDesriptor since the pre-registered draw list tag is not needed. - Remove EitorContext which was for system component settings. - Add atom_rpi.setreg file - Add getting RPISystemDescriptor from setting registry. Signed-off-by: qingtao <qingtao@amazon.com>
This commit is contained in:
@@ -21,8 +21,16 @@ namespace AZ
|
||||
AZ_TYPE_INFO(RPI::ImageSystemDescriptor, "{319D14F6-F7F2-487A-AA6B-5800E328C79B}");
|
||||
static void Reflect(AZ::ReflectContext* context);
|
||||
|
||||
//! The maximum size of the image pool used for system streaming images.
|
||||
//! Check ImageSystemInterface::GetSystemStreamingPool() for detail of this image pool
|
||||
uint64_t m_systemStreamingImagePoolSize = 128 * 1024 * 1024;
|
||||
|
||||
//! The maximum size of the image pool used for system attachments images.
|
||||
//! Check ImageSystemInterface::GetSystemAttachmentPool() for detail of this image pool
|
||||
uint64_t m_systemAttachmentImagePoolSize = 512 * 1024 * 1024;
|
||||
|
||||
//! The maximum size of the image pool used for streaming images load from assets
|
||||
//! Check ImageSystemInterface::GetStreamingPool() for detail of this image pool
|
||||
uint64_t m_assetStreamingImagePoolSize = 2u * 1024u * 1024u * 1024u;
|
||||
};
|
||||
} // namespace RPI
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
#include <Atom/RPI.Reflect/GpuQuerySystemDescriptor.h>
|
||||
#include <Atom/RPI.Reflect/Image/ImageSystemDescriptor.h>
|
||||
#include <Atom/RHI.Reflect/RHISystemDescriptor.h>
|
||||
|
||||
namespace AZ
|
||||
{
|
||||
@@ -31,8 +30,6 @@ namespace AZ
|
||||
AZ_TYPE_INFO(RPISystemDescriptor, "{96DAC3DA-40D4-4C03-8D6A-3181E843262A}");
|
||||
static void Reflect(AZ::ReflectContext* context);
|
||||
|
||||
RHI::RHISystemDescriptor m_rhiSystemDescriptor;
|
||||
|
||||
//! The asset cache relative path of the only common shader asset for the RPI system that is used
|
||||
//! as means to load the layout for scene srg and view srg. This is used to create any RPI::Scene.
|
||||
AZStd::string m_commonSrgsShaderAssetPath = "shader/sceneandviewsrgs.azshader";
|
||||
|
||||
Reference in New Issue
Block a user