XRInstance.cpp 527 B

1234567891011121314151617181920212223
  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 <XR/XRInstance.h>
  9. namespace XR
  10. {
  11. AZ::RHI::ResultCode Instance::Init(AZ::RHI::ValidationMode validationMode)
  12. {
  13. m_validationMode = validationMode;
  14. return InitInstanceInternal();
  15. }
  16. void Instance::Shutdown()
  17. {
  18. ShutdownInternal();
  19. }
  20. } // namespace XR