2 #ifndef _YI_VIDEO_SURFACE_H_ 3 #define _YI_VIDEO_SURFACE_H_ 8 #include <glm/vec2.hpp> 77 const glm::ivec2 &
GetSize()
const;
90 void SetSize(
const glm::ivec2 &videoSize);
108 void DetachFromSurfaceView();
110 uint32_t m_uCapabilities;
111 glm::ivec2 m_videoSize;
114 std::shared_ptr<CYISceneNodeProxy> m_pAttachedSurfaceView;
Definition: YiVideoSurface.h:49
Definition: YiVideoSurface.h:44
const glm::ivec2 & GetSize() const
CYISignal< const glm::ivec2 & > SizeChanged
Definition: YiVideoSurface.h:82
A texture asset representing an image which will be loaded into the GPU.
Definition: YiAssetTexture.h:23
CYIMaterial is a place holder for all the drawing parameters required by the renderer to draw a mesh/...
Definition: YiMaterial.h:27
The base class for an object accessible from script source code.
Definition: YiScriptableObject.h:28
virtual void OnAttached(CYIVideoSurfaceView *pVideoSurfaceView)
A class used to proxy access to a CYISceneNode.
Definition: YiSceneNodeProxy.h:19
virtual void OnDetached(CYIVideoSurfaceView *pVideoSurfaceView)
Definition: YiVideoSurface.h:46
Definition: YiVideoSurface.h:48
An abstract video player that provides a basic interface that all subclasses must implement...
Definition: YiAbstractVideoPlayer.h:55
void SetClosedCaptionsDispatcher(CYIClosedCaptionsDispatcher *pDispatcher)
uint32_t GetCapabilities() const
Definition: YiVideoSurface.h:45
CAPABILITIES
Definition: YiVideoSurface.h:42
Dispatches closed captioning cues to registered captions renderers.
Definition: YiClosedCaptionsDispatcher.h:27
virtual ~CYIVideoSurface()
CYIClosedCaptionsDispatcher * GetClosedCaptionsDispatcher() const
void SetSize(const glm::ivec2 &videoSize)
Representation of a CYIAbstractVideoPlayer's video surface.
Definition: YiVideoSurface.h:34
View representation of a CYIAbstractVideoPlayer's CYIVideoSurface.
Definition: YiVideoSurfaceView.h:31
Definition: YiVideoSurface.h:47