Murl::IVideoInterface Interface Referenceabstract

The video interface. More...

#include "murl_i_video_interface.h"

Inherited by Murl::Linux::VideoInterface, Murl::Platform::Android::VideoInterface, Murl::Platform::Emscripten::VideoInterface, Murl::Platform::Ios::VideoInterface, Murl::Platform::Osx::VideoInterface, Murl::Platform::Tvos::VideoInterface, Murl::Platform::Win32::VideoInterface, and Murl::WinRT::VideoInterface.

Public Member Functions

virtual Bool CanShareContexts () const =0
 Check if the interface supports shared contexts. More...
 
virtual void * CreateSharedContext ()=0
 Create a shared context. More...
 
virtual void DestroySharedContext (void *context)=0
 Destroy a shared context. More...
 
virtual Bool ActivateSharedContext (void *context)=0
 Activate a shared context. More...
 
virtual Bool DeactivateSharedContext (void *context)=0
 Deactivate a shared context. More...
 
virtual void * GetRenderContext ()=0
 Get the video render context. More...
 
virtual Bool ActivateRenderContext ()=0
 Activate the video render context. More...
 
virtual Bool DeactivateRenderContext ()=0
 Deactivate the video render context. More...
 
virtual Bool IsRenderContextActive () const =0
 Check if the video render context is active. More...
 
virtual void * GetLoaderContext ()=0
 Get the video loader context. More...
 
virtual Bool ActivateLoaderContext ()=0
 Activate the video loader context. More...
 
virtual Bool DeactivateLoaderContext ()=0
 Deactivate the video loader context. More...
 
virtual Bool IsLoaderContextActive () const =0
 Check if the video loader context is active. More...
 
virtual Bool ActivateBackBuffer ()=0
 Activate the back buffer for rendering. More...
 
virtual Bool DeactivateBackBuffer ()=0
 Deactivate the back buffer. More...
 
virtual IWindowInterfaceGetWindowInterface ()=0
 returns the window interface. More...
 

Detailed Description

The video interface.

Member Function Documentation

◆ CanShareContexts()

virtual Bool Murl::IVideoInterface::CanShareContexts ( ) const
pure virtual

Check if the interface supports shared contexts.

Returns
true if the interface supports shared contexts.

◆ CreateSharedContext()

virtual void* Murl::IVideoInterface::CreateSharedContext ( )
pure virtual

Create a shared context.

Returns
The shared context.

◆ DestroySharedContext()

virtual void Murl::IVideoInterface::DestroySharedContext ( void *  context)
pure virtual

Destroy a shared context.

Parameters
contextThe shared context.

◆ ActivateSharedContext()

virtual Bool Murl::IVideoInterface::ActivateSharedContext ( void *  context)
pure virtual

Activate a shared context.

Parameters
contextThe shared context.
Returns
true if successful.

◆ DeactivateSharedContext()

virtual Bool Murl::IVideoInterface::DeactivateSharedContext ( void *  context)
pure virtual

Deactivate a shared context.

Parameters
contextThe shared context.
Returns
true if successful.

◆ GetRenderContext()

virtual void* Murl::IVideoInterface::GetRenderContext ( )
pure virtual

Get the video render context.

Returns
The video render context.

◆ ActivateRenderContext()

virtual Bool Murl::IVideoInterface::ActivateRenderContext ( )
pure virtual

Activate the video render context.

Returns
true if successful.

◆ DeactivateRenderContext()

virtual Bool Murl::IVideoInterface::DeactivateRenderContext ( )
pure virtual

Deactivate the video render context.

Returns
true if successful.

◆ IsRenderContextActive()

virtual Bool Murl::IVideoInterface::IsRenderContextActive ( ) const
pure virtual

Check if the video render context is active.

Returns
true if active.

◆ GetLoaderContext()

virtual void* Murl::IVideoInterface::GetLoaderContext ( )
pure virtual

Get the video loader context.

Returns
The video loader context.

◆ ActivateLoaderContext()

virtual Bool Murl::IVideoInterface::ActivateLoaderContext ( )
pure virtual

Activate the video loader context.

Returns
true if successful.

◆ DeactivateLoaderContext()

virtual Bool Murl::IVideoInterface::DeactivateLoaderContext ( )
pure virtual

Deactivate the video loader context.

Returns
true if successful.

◆ IsLoaderContextActive()

virtual Bool Murl::IVideoInterface::IsLoaderContextActive ( ) const
pure virtual

Check if the video loader context is active.

Returns
true if active.

◆ ActivateBackBuffer()

virtual Bool Murl::IVideoInterface::ActivateBackBuffer ( )
pure virtual

Activate the back buffer for rendering.

Returns
true if successful.

◆ DeactivateBackBuffer()

virtual Bool Murl::IVideoInterface::DeactivateBackBuffer ( )
pure virtual

Deactivate the back buffer.

Returns
true if successful.

◆ GetWindowInterface()

virtual IWindowInterface* Murl::IVideoInterface::GetWindowInterface ( )
pure virtual

returns the window interface.

Returns
the window interface.

The documentation for this interface was generated from the following file:
  • murl_i_video_interface.h


Copyright © 2011-2024 Spraylight GmbH.