XRSpace.cpp 585 B

12345678910111213141516171819202122232425262728
  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/XRSpace.h>
  9. namespace XR
  10. {
  11. AZ::RHI::ResultCode Space::Init(Descriptor descriptor)
  12. {
  13. m_descriptor = descriptor;
  14. return InitInternal();
  15. }
  16. const Space::Descriptor& Space::GetDescriptor() const
  17. {
  18. return m_descriptor;
  19. }
  20. void Space::Shutdown()
  21. {
  22. ShutdownInternal();
  23. }
  24. } // namespace XR