// @lint-ignore-every LICENSELINT // Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "OculusXRHMDPrivate.h" #include "IHeadMountedDisplayVulkanExtensions.h" #if OCULUS_HMD_SUPPORTED_PLATFORMS namespace OculusXRHMD { //------------------------------------------------------------------------------------------------- // FVulkanExtensions //------------------------------------------------------------------------------------------------- class FVulkanExtensions : public IHeadMountedDisplayVulkanExtensions, public TSharedFromThis { public: FVulkanExtensions() {} virtual ~FVulkanExtensions() {} // IHeadMountedDisplayVulkanExtensions virtual bool GetVulkanInstanceExtensionsRequired(TArray& Out) override; virtual bool GetVulkanDeviceExtensionsRequired(struct VkPhysicalDevice_T* pPhysicalDevice, TArray& Out) override; }; #if WITH_EDITOR class FEditorVulkanExtensions : public IHeadMountedDisplayVulkanExtensions, public TSharedFromThis { public: FEditorVulkanExtensions() {} virtual ~FEditorVulkanExtensions() {} // IHeadMountedDisplayVulkanExtensions virtual bool GetVulkanInstanceExtensionsRequired(TArray& Out) override; virtual bool GetVulkanDeviceExtensionsRequired(struct VkPhysicalDevice_T* pPhysicalDevice, TArray& Out) override; }; #endif } // namespace OculusXRHMD #endif //OCULUS_HMD_SUPPORTED_PLATFORMS