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:
@@ -25,21 +25,6 @@ namespace AZ
|
||||
->Field("SystemStreamingImagePoolSize", &ImageSystemDescriptor::m_systemStreamingImagePoolSize)
|
||||
->Field("SystemAttachmentImagePoolSize", &ImageSystemDescriptor::m_systemAttachmentImagePoolSize)
|
||||
;
|
||||
|
||||
if (AZ::EditContext* ec = serializeContext->GetEditContext())
|
||||
{
|
||||
ec->Class<ImageSystemDescriptor>("Image System Config", "Settings for RPI Image System")
|
||||
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
|
||||
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("System", 0xc94d118b))
|
||||
->Attribute(AZ::Edit::Attributes::AutoExpand, true)
|
||||
->DataElement(AZ::Edit::UIHandlers::Default, &ImageSystemDescriptor::m_assetStreamingImagePoolSize,
|
||||
"Streaming image pool size for assets", "Streaming image pool size in bytes for streaming images created from assets")
|
||||
->DataElement(AZ::Edit::UIHandlers::Default, &ImageSystemDescriptor::m_systemStreamingImagePoolSize,
|
||||
"System streaming image pool size", "Streaming image pool size in bytes for streaming images created in memory")
|
||||
->DataElement(AZ::Edit::UIHandlers::Default, &ImageSystemDescriptor::m_systemAttachmentImagePoolSize,
|
||||
"System attachment image pool size", "Default attachment image pool size in bytes")
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace RPI
|
||||
|
||||
Reference in New Issue
Block a user