Representation of a CYIAbstractVideoPlayer's video surface, if the player is rendering to a texture.
All CYIVideoSurfaceTexture types will implicitly report the CAPABITILIES RENDER_TO_TEXTURE, MULTIPLE_VIEWS, TRANSLATE, SCALE, FREE_TRANSFORM, and OPACITY.
#include <player/YiVideoSurfaceTexture.h>

Protected Member Functions | |
| virtual void | Init () override |
| CYIVideoSurfaceTexture (uint32_t uCapabilities=0) | |
| const std::shared_ptr< CYIMaterial > & | GetMaterial () const |
Protected Member Functions inherited from CYIVideoSurface | |
| CYIVideoSurface (uint32_t uCapabilities) | |
| void | SetSize (const glm::ivec2 &videoSize) |
| virtual void | OnAttached (CYIVideoSurfaceView *pVideoSurfaceView) |
| virtual void | OnDetached (CYIVideoSurfaceView *pVideoSurfaceView) |
Friends | |
| class | CYIVideoSurfaceView |
| class | CYIAbstractVideoPlayer |
|
protected |
The default value will result in RENDER_TO_TEXTURE, MULTIPLE_VIEWS, TRANSLATE, SCALE, FREE_TRANSFORM, and OPACITY.
Any further capabilities can be reported by providing an input to the constructor.
|
protected |
Contains a material (shader and texture combination) that is capable of rendering the current video frame.
|
overrideprotectedvirtual |
Will call InitializeMaterial and InitializeTexture.
Reimplemented from CYIVideoSurface.
|
friend |
|
friend |