You.i Engine
CYIAbstractVideoPlayer::AdaptiveResolutionInterface Class Referenceabstract

Detailed Description

An interface to adjust playback quality through resolution.

See also
GetAdaptiveResolutionInterface

#include <player/YiAbstractVideoPlayer.h>

Public Member Functions

virtual ~AdaptiveResolutionInterface ()=default
 
virtual void SetMaxResolution (glm::ivec2 maxResolution)=0
 

Constructor & Destructor Documentation

◆ ~AdaptiveResolutionInterface()

virtual CYIAbstractVideoPlayer::AdaptiveResolutionInterface::~AdaptiveResolutionInterface ( )
virtualdefault

Member Function Documentation

◆ SetMaxResolution()

virtual void CYIAbstractVideoPlayer::AdaptiveResolutionInterface::SetMaxResolution ( glm::ivec2  maxResolution)
pure virtual

Set the maximum resolution player will be allowed to use.

Note
Setting the maximum resolution won't take effect until the next time media is prepared.

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