Public Member Functions
|Fullscreen (const InstanceHandle &instance)|
|bool||SetFullscreen (bool fullscreen)|
|bool||GetScreenSize (Size *size)|
The Fullscreen class allowing you to check and toggle fullscreen mode.
Constructor & Destructor Documentation
A constructor for creating a
[in] instance The instance with which this resource will be associated.
Member Function Documentation
IsFullscreen() checks whether the module instance is currently in fullscreen mode.
trueif the module instance is in fullscreen mode,
falseif the module instance is not in fullscreen mode.
SetFullscreen() switches the module instance to and from fullscreen mode.
The transition to and from fullscreen mode is asynchronous. During the transition, IsFullscreen() will return the previous value and no 2D or 3D device can be bound. The transition ends at DidChangeView() when IsFullscreen() returns the new value. You might receive other DidChangeView() calls while in transition.
The transition to fullscreen mode can only occur while the browser is processing a user gesture, even if
true is returned.
trueto enter fullscreen mode, or
falseto exit fullscreen mode.
trueon success or
The documentation for this class was generated from the following file: