#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::Instance > | CreateInstance ()=0 |
Create XR::Instance object. | |
virtual Ptr< XR::Device > | CreateDevice ()=0 |
Create XR::Device object. | |
virtual Ptr< XR::Session > | CreateSession ()=0 |
Create XR::Session object. | |
virtual Ptr< XR::Input > | CreateInput ()=0 |
Create XR::Input object. | |
virtual Ptr< XR::Space > | CreateSpace ()=0 |
Create XR::Space object. | |
virtual Ptr< XR::SwapChain > | CreateSwapChain ()=0 |
Create XR::Swapchain object. | |
virtual Ptr< XR::SwapChain::View > | CreateSwapChainView ()=0 |
Create XR::Swapchain::View object. | |
virtual Ptr< XR::SwapChain::Image > | CreateSwapChainImage ()=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::Factory & | Get () |
Access the global factory instance. | |
Interface responsible for creating all the XR objects which are internally backed by concrete objects