ezEngine  Release 25.03
ezWindowXR Class Reference

XR Window base implementation. Optionally wraps a companion window. More...

#include <XRWindow.h>

Inheritance diagram for ezWindowXR:

Public Member Functions

 ezWindowXR (ezXRInterface *pVrInterface, ezUniquePtr< ezWindowBase > pCompanionWindow)
 
virtual ezSizeU32 GetClientAreaSize () const override
 
virtual ezWindowHandle GetNativeWindowHandle () const override
 Returns the platform specific window handle.
 
virtual bool IsVisible () const override
 Whether the window can potentially be seen by the user. Windows that are minimized or hidden are not visible.
 
virtual bool IsFullscreenWindow (bool bOnlyProperFullscreenMode) const override
 Whether the window is a fullscreen window or should be one - some platforms may enforce this via the GALSwapchain) More...
 
virtual void ProcessWindowMessages () override
 Runs the platform specific message pump. More...
 
virtual void AddReference () override
 
virtual void RemoveReference () override
 
const ezWindowBaseGetCompanionWindow () const
 Returns the companion window if present.
 

Detailed Description

XR Window base implementation. Optionally wraps a companion window.

Member Function Documentation

◆ IsFullscreenWindow()

bool ezWindowXR::IsFullscreenWindow ( bool  bOnlyProperFullscreenMode) const
overridevirtual

Whether the window is a fullscreen window or should be one - some platforms may enforce this via the GALSwapchain)

If bOnlyProperFullscreenMode, the caller accepts borderless windows that cover the entire screen as "fullscreen".

Implements ezWindowBase.

◆ ProcessWindowMessages()

void ezWindowXR::ProcessWindowMessages ( )
overridevirtual

Runs the platform specific message pump.

You should call ProcessWindowMessages every frame to keep the window responsive.

Implements ezWindowBase.


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