14 plSizeU32 GetRenderTargetSize()
const {
return m_CurrentSize; }
15 XrSwapchain GetColorSwapchain()
const {
return m_ColorSwapchain.handle; }
16 XrSwapchain GetDepthSwapchain()
const {
return m_DepthSwapchain.handle; }
18 virtual void AcquireNextRenderTarget(
plGALDevice* pDevice)
override;
19 virtual void PresentRenderTarget(
plGALDevice* pDevice)
override;
20 void PresentRenderTarget()
const;
30 XrSwapchain handle = 0;
32 plUInt32 imageCount = 0;
33 XrSwapchainImageBaseHeader* images =
nullptr;
34 uint32_t imageIndex = 0;
36 enum class SwapchainType
44 XrResult SelectSwapchainFormat(int64_t& colorFormat, int64_t& depthFormat);
45 XrResult CreateSwapchainImages(Swapchain& swapchain, SwapchainType type);
46 XrResult InitSwapChain(plGALMSAASampleCount::Enum msaaCount);
47 void DeinitSwapChain();
50 XrInstance m_pInstance = XR_NULL_HANDLE;
51 uint64_t m_SystemId = XR_NULL_SYSTEM_ID;
52 XrSession m_pSession = XR_NULL_HANDLE;
56 XrViewConfigurationView m_PrimaryConfigView;
57 Swapchain m_ColorSwapchain;
58 Swapchain m_DepthSwapchain;
65 bool m_bImageAcquired =
false;
Definition RendererFoundationDLL.h:411