FCohtmlViewWrapper

Public Functions

Name
FCohtmlViewWrapper(TSharedPtr< cohtml::IViewListener > InViewListener, TSharedPtr< cohtml::ITextInputHandler > InTextInputHandler, TEnumAsByte< enum TextureFilter > & InFilter, UObject * InOwner)
~FCohtmlViewWrapper()
cohtml::View *GetView() const
const FCohTextureRHIRef &GetRenderTargetTextureRHI() const
const FCohTextureRHIRef &GetMSAATextureRHI() const
FCohStencilBuffer *GetDepthStencilTexture() const
UTexture *GetUITexture() const
UTextureRenderTarget2D *GetUITextureRT() const
voidBeginDestroy()
boolIsReadyForFinishDestroy()
voidWaitForFinishDestroy()
voidFinishDestroy()
voidUninitializeComponent()
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()
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 * InCompositor)
voidSetCustomEffectHandler(UCohCustomMaterialDrawer * InHandler)
voidSignalToCompositor(unsigned ViewId, unsigned ViewFrameId)
doubleGetCurrentTimepoint()
uint32GetWidth() const
uint32GetHeight() const
FCohtmlUEViewSettings &GetViewSettingsUE()

Public Attributes

Name
FThreadSafeBoolbPainted

Protected Attributes

Name
cohtml::View *View

Public Functions Documentation

function FCohtmlViewWrapper

FCohtmlViewWrapper(
    TSharedPtr< cohtml::IViewListener > InViewListener,
    TSharedPtr< cohtml::ITextInputHandler > InTextInputHandler,
    TEnumAsByte< enum TextureFilter > & InFilter,
    UObject * InOwner
)

function ~FCohtmlViewWrapper

~FCohtmlViewWrapper()

function GetView

cohtml::View * GetView() const

function GetRenderTargetTextureRHI

const FCohTextureRHIRef & GetRenderTargetTextureRHI() const

function GetMSAATextureRHI

const FCohTextureRHIRef & GetMSAATextureRHI() const

function GetDepthStencilTexture

FCohStencilBuffer * GetDepthStencilTexture() const

function GetUITexture

UTexture * GetUITexture() const

function GetUITextureRT

UTextureRenderTarget2D * GetUITextureRT() const

function BeginDestroy

void BeginDestroy()

function IsReadyForFinishDestroy

bool IsReadyForFinishDestroy()

function WaitForFinishDestroy

void WaitForFinishDestroy()

function FinishDestroy

void FinishDestroy()

function UninitializeComponent

void UninitializeComponent()

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

void UpdateUserBackgroundWrappedTexture()

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 * InCompositor
)

function SetCustomEffectHandler

void SetCustomEffectHandler(
    UCohCustomMaterialDrawer * InHandler
)

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()

Public Attributes Documentation

variable bPainted

FThreadSafeBool bPainted;

Protected Attributes Documentation

variable View

cohtml::View * View;