Open 3D Engine XR Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
XR::Factory Class Referenceabstract

#include <XRFactory.h>

Public Member Functions

 AZ_CLASS_ALLOCATOR (Factory, AZ::SystemAllocator)
 
 AZ_RTTI (Factory, "{A3D7271A-64FD-442C-9116-DBC32224222F}")
 
 AZ_DISABLE_COPY_MOVE (Factory)
 
virtual Ptr< XR::InstanceCreateInstance ()=0
 Create XR::Instance object.
 
virtual Ptr< XR::DeviceCreateDevice ()=0
 Create XR::Device object.
 
virtual Ptr< XR::SessionCreateSession ()=0
 Create XR::Session object.
 
virtual Ptr< XR::InputCreateInput ()=0
 Create XR::Input object.
 
virtual Ptr< XR::SpaceCreateSpace ()=0
 Create XR::Space object.
 
virtual Ptr< XR::SwapChainCreateSwapChain ()=0
 Create XR::Swapchain object.
 
virtual Ptr< XR::SwapChain::ViewCreateSwapChainView ()=0
 Create XR::Swapchain::View object.
 
virtual Ptr< XR::SwapChain::ImageCreateSwapChainImage ()=0
 Create XR::Swapchain::Image object.
 

Static Public Member Functions

static AZ::u32 GetPlatformService ()
 Returns the component service name CRC used by the platform RHI system component.
 
static void Register (XR::Factory *instance)
 Registers the global factory instance.
 
static void Unregister (XR::Factory *instance)
 Unregisters the global factory instance.
 
static bool IsReady ()
 Returns if the factory ready.
 
static XR::FactoryGet ()
 Access the global factory instance.
 

Detailed Description

Interface responsible for creating all the XR objects which are internally backed by concrete objects


The documentation for this class was generated from the following file: