StreamingImagePoolDescriptor.cpp 674 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include <Atom/RHI.Reflect/StreamingImagePoolDescriptor.h>
  9. #include <AzCore/Serialization/SerializeContext.h>
  10. namespace AZ::RHI
  11. {
  12. void StreamingImagePoolDescriptor::Reflect(AZ::ReflectContext* context)
  13. {
  14. if (SerializeContext* serializeContext = azrtti_cast<SerializeContext*>(context))
  15. {
  16. serializeContext->Class<StreamingImagePoolDescriptor, ResourcePoolDescriptor>()
  17. ->Version(1);
  18. }
  19. }
  20. }