FCohtmlViewWrapper

Public Functions

Name
FCohtmlViewWrapper(TSharedPtr< cohtml::IViewListener > ViewListener, TSharedPtr< cohtml::ITextInputHandler > TextInputHandler, UTextureRenderTarget2D ** Texture, TEnumAsByte< enum TextureFilter > * Filter, UObject * InOwner, bool bLateSystemCreate)
FCohtmlViewWrapper(TSharedPtr< cohtml::IViewListener > ViewListener, TSharedPtr< cohtml::ITextInputHandler > TextInputHandler, UTextureRenderTarget2D ** Texture, TEnumAsByte< enum TextureFilter > * Filter, UObject * InOwner)
~FCohtmlViewWrapper()
cohtml::View *GetView() const
FRHITexture2D *GetTextureRHI() const
UTexture *GetTexture() const
voidClearTexture()
voidSetTexture(UTextureRenderTarget2D ** InTexture)
voidBeginDestroy()
boolIsReadyForFinishDestroy()
voidWaitForFinishDestroy()
voidFinishDestroy()
voidSetOwner(UObject * InOwner)
voidEnqueueResizeRenderingCommand(uint32 Width, uint32 Height)
voidResizeOnNextTick(uint32 Width, uint32 Height)
voidResize(uint32 Width, uint32 Height)
voidResizeRenderTarget(uint32 Width, uint32 Height)
voidPaint(FRHICommandListImmediate & CmdList, uint32 CohFrameId)
voidEnqueueUserBackgroundDimensionsUpdateRT()
voidUpdateUserBackgroundDimensions_RenderThread(FRHICommandListImmediate & CmdList)
voidUpdateUserBackgroundWrappedTexture_GameThread()
voidCreateView(const cohtml::ViewSettings & info, const FString & url, FCohtmlUEViewSettings & InViewSettingsUE)
voidRecreateView(const cohtml::ViewSettings & info, const FString & url, FCohtmlUEViewSettings & InViewSettingsUE)
voidSetRunAdvanceConcurrently(bool bEnable)
boolUpdate()
voidWaitForAdvance()
boolIsReadyForBindings() const
boolHasRequestedView() const
boolIsTransparent() const
cohtml::ViewRenderer *GetViewRenderer() const
FCohtmlRendererHolderSharedPtrGetSystemRenderer() const
void *operator new(size_t Size)
voidoperator delete(void * Ptr)
voidPaint_GameThread()
voidSetCompositor(ICompositorInterfaceUnreal * compositor)
voidSetCustomEffectHandler(UCohCustomMaterialDrawer * handler)
voidSignalToCompositor(unsigned viewId, unsigned viewFrameId)
doubleGetCurrentTimepoint()
uint32GetWidth() const
uint32GetHeight() const
FCohtmlUEViewSettings &GetViewSettingsUE()
UTextureRenderTarget2D *CreateTexture(TextureFilter Filter, uint32 Width =0, uint32 Height =0)

Public Attributes

Name
FThreadSafeBoolbPainted

Protected Attributes

Name
cohtml::View *View

Public Functions Documentation

function FCohtmlViewWrapper

FCohtmlViewWrapper(
    TSharedPtr< cohtml::IViewListener > ViewListener,
    TSharedPtr< cohtml::ITextInputHandler > TextInputHandler,
    UTextureRenderTarget2D ** Texture,
    TEnumAsByte< enum TextureFilter > * Filter,
    UObject * InOwner,
    bool bLateSystemCreate
)

function FCohtmlViewWrapper

FCohtmlViewWrapper(
    TSharedPtr< cohtml::IViewListener > ViewListener,
    TSharedPtr< cohtml::ITextInputHandler > TextInputHandler,
    UTextureRenderTarget2D ** Texture,
    TEnumAsByte< enum TextureFilter > * Filter,
    UObject * InOwner
)

function ~FCohtmlViewWrapper

~FCohtmlViewWrapper()

function GetView

cohtml::View * GetView() const

function GetTextureRHI

FRHITexture2D * GetTextureRHI() const

function GetTexture

UTexture * GetTexture() const

function ClearTexture

void ClearTexture()

function SetTexture

void SetTexture(
    UTextureRenderTarget2D ** InTexture
)

function BeginDestroy

void BeginDestroy()

function IsReadyForFinishDestroy

bool IsReadyForFinishDestroy()

function WaitForFinishDestroy

void WaitForFinishDestroy()

function FinishDestroy

void FinishDestroy()

function SetOwner

void SetOwner(
    UObject * InOwner
)

function EnqueueResizeRenderingCommand

void EnqueueResizeRenderingCommand(
    uint32 Width,
    uint32 Height
)

function ResizeOnNextTick

void ResizeOnNextTick(
    uint32 Width,
    uint32 Height
)

function Resize

void Resize(
    uint32 Width,
    uint32 Height
)

function ResizeRenderTarget

void ResizeRenderTarget(
    uint32 Width,
    uint32 Height
)

function Paint

void Paint(
    FRHICommandListImmediate & CmdList,
    uint32 CohFrameId
)

function EnqueueUserBackgroundDimensionsUpdateRT

void EnqueueUserBackgroundDimensionsUpdateRT()

function UpdateUserBackgroundDimensions_RenderThread

void UpdateUserBackgroundDimensions_RenderThread(
    FRHICommandListImmediate & CmdList
)

function UpdateUserBackgroundWrappedTexture_GameThread

void UpdateUserBackgroundWrappedTexture_GameThread()

function CreateView

void CreateView(
    const cohtml::ViewSettings & info,
    const FString & url,
    FCohtmlUEViewSettings & InViewSettingsUE
)

function RecreateView

void RecreateView(
    const cohtml::ViewSettings & info,
    const FString & url,
    FCohtmlUEViewSettings & InViewSettingsUE
)

function SetRunAdvanceConcurrently

inline void SetRunAdvanceConcurrently(
    bool bEnable
)

function Update

bool Update()

function WaitForAdvance

void WaitForAdvance()

function IsReadyForBindings

bool IsReadyForBindings() const

function HasRequestedView

bool HasRequestedView() const

function IsTransparent

bool IsTransparent() const

function GetViewRenderer

cohtml::ViewRenderer * GetViewRenderer() const

function GetSystemRenderer

FCohtmlRendererHolderSharedPtr GetSystemRenderer() const

function operator new

inline void * operator new(
    size_t Size
)

function operator delete

inline void operator delete(
    void * Ptr
)

function Paint_GameThread

void Paint_GameThread()

function SetCompositor

void SetCompositor(
    ICompositorInterfaceUnreal * compositor
)

function SetCustomEffectHandler

void SetCustomEffectHandler(
    UCohCustomMaterialDrawer * handler
)

function SignalToCompositor

void SignalToCompositor(
    unsigned viewId,
    unsigned viewFrameId
)

function GetCurrentTimepoint

double GetCurrentTimepoint()

function GetWidth

inline uint32 GetWidth() const

function GetHeight

inline uint32 GetHeight() const

function GetViewSettingsUE

inline FCohtmlUEViewSettings & GetViewSettingsUE()

function CreateTexture

static UTextureRenderTarget2D * CreateTexture(
    TextureFilter Filter,
    uint32 Width =0,
    uint32 Height =0
)

Public Attributes Documentation

variable bPainted

FThreadSafeBool bPainted;

Protected Attributes Documentation

variable View

cohtml::View * View;