28 lines
865 B
C++
28 lines
865 B
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#include <DiffuseGlobalIllumination/DiffuseGlobalIlluminationComponentConfig.h>
|
|
#include <AzCore/Serialization/SerializeContext.h>
|
|
#include <AzCore/Serialization/EditContext.h>
|
|
|
|
namespace AZ
|
|
{
|
|
namespace Render
|
|
{
|
|
void DiffuseGlobalIlluminationComponentConfig::Reflect(ReflectContext* context)
|
|
{
|
|
if (auto serializeContext = azrtti_cast<AZ::SerializeContext*>(context))
|
|
{
|
|
serializeContext->Class<DiffuseGlobalIlluminationComponentConfig, ComponentConfig>()
|
|
->Version(1)
|
|
->Field("QualityLevel", &DiffuseGlobalIlluminationComponentConfig::m_qualityLevel)
|
|
;
|
|
}
|
|
}
|
|
} // namespace Render
|
|
} // namespace AZ
|