IScaleformHelper

IScaleformHelperabstract

Helper for Scaleform-specific function access. More...

#include

Public Member Functions

virtual bool Init ()=0
Initialize helper object.
virtual void Destroy ()=0
Destroy helper object.
virtual void SetAmpEnabled (bool bEnabled)=0
virtual void AmpAdvanceFrame ()=0
virtual void SetTranslatorWordWrappingMode (const char *szLanguage)=0
Sets the word-wrapping mode for the specified language.
virtual void SetTranslatorDirty (bool bDirty)=0
Mark translator as dirty, causing a refresh of localized strings.
virtual void ResetMeshCache ()=0
Reset all cached meshes.
virtual IFlashPlayer * CreateFlashPlayerInstance ()=0
Create new instance of flash player.
virtual IFlashPlayerBootStrapper * CreateFlashPlayerBootStrapper ()=0
Create new instance of flash player bootstrapper.
virtual void RenderFlashInfo ()=0
Displays flash information usign AUX renderer.
virtual void GetFlashMemoryUsage (ICrySizer *pSizer)=0
Query memory usage of all flash player instances.
virtual void SetFlashLoadMovieHandler (IFlashLoadMovieHandler *pHandler)=0
Set handler for call-backs of flash loading.
virtual float GetFlashProfileResults ()=0
Query the total time spent in flash updating.
virtual void GetFlashRenderStats (unsigned &numDPs, unsigned int &numTris)=0
Query the number of draws and triangles used to render flash content this frame.
virtual void SetRenderThreadIDs (threadID main, threadID render)=0
Set thread ID values for Scaleform.

Detailed Description

Helper for Scaleform-specific function access.

Member Function Documentation

◆ AmpAdvanceFrame()

virtual void IScaleformHelper::AmpAdvanceFrame ( )
pure virtual

Advance AMP by one frame. Note: This function does nothing if AMP feature is not compiled in.

◆ SetAmpEnabled()

virtual void IScaleformHelper::SetAmpEnabled ( bool bEnabled)
pure virtual

Enables or disables AMP support. Note: This function does nothing if AMP feature is not compiled in.