#include <OpenXRVkDevice.h>
Inherits XR::Device.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (Device, AZ::SystemAllocator) | |
AZ_RTTI (Device, "{81FD9B99-EDA5-4381-90EC-335073554379}", XR::Device) | |
AZ::RHI::ResultCode | GetViewFov (AZ::u32 viewIndex, AZ::RPI::FovData &outFovData) const override |
Get the Fov data of the view specified by view index. | |
AZ::RHI::ResultCode | GetViewPose (AZ::u32 viewIndex, AZ::RPI::PoseData &outPoseData) const override |
Get the Pose data of the view specified by view index. | |
bool | ShouldRender () const |
Returns true if rendering data is valid for the current frame. | |
VkDevice | GetNativeDevice () const |
Get the native device. | |
VkPhysicalDevice | GetNativePhysicalDevice () const |
Get the native physical device. | |
const AZ::Vulkan::XRDeviceDescriptor::GraphicsBinding & | GetGraphicsBinding (AZ::RHI::HardwareQueueClass queueClass) const |
Returns the graphic binding for a hardware queue. | |
void | InitXrViews (uint32_t numViews) |
Reserve space for appropriate number of views. | |
XrTime | GetPredictedDisplayTime () const |
Get the anticipated display XrTime for the next application-generated frame. | |
Static Public Member Functions | |
static XR::Ptr< Device > | Create () |
Vulkan specific XR device back-end class that will help manage xr specific vulkan native objects related to device.