You.i Engine
CYIAbstractVideoPlayer::AdaptiveResolutionInterface Class Referenceabstract

Detailed Description

An interface to adjust playback quality through resolution.

See also

#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 ( )

Member Function Documentation

◆ SetMaxResolution()

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

Set the maximum resolution player will be allowed to use.

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: