You.i Engine
CYIPlatformViewProxy::Delegate Class Referenceabstract

Detailed Description

CYIPlatformViewProxy delegates handling of texture updates to its Delegate.

CYIPlatformViewProxy is notified by the platform when the texture content it refers to is updated.

#include <platform/YiPlatformViewProxy.h>

Inheritance diagram for CYIPlatformViewProxy::Delegate:

Public Member Functions

virtual ~Delegate ()=default
 
virtual void OnTextureUpdated ()=0
 
virtual void OnProxyDestroyed ()=0
 

Constructor & Destructor Documentation

virtual CYIPlatformViewProxy::Delegate::~Delegate ( )
virtualdefault

Member Function Documentation

virtual void CYIPlatformViewProxy::Delegate::OnProxyDestroyed ( )
pure virtual

Indicates that the proxy has been deleted (or is being deleted). The user of this delegate should relinquish its reference to the proxy.

virtual void CYIPlatformViewProxy::Delegate::OnTextureUpdated ( )
pure virtual

The CYIPlatformViewProxy::Delegate receives notifications of updates occuring only when the presentation mode of the proxy is TEXTURE and when there is new texture data available. The delegate is responsible for responding to this information and ensuring the latest texture content is visible on screen.


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