Skip to content
SiteEmail

FCohtmlViewWrapper

Name
FCohtmlViewWrapper(TSharedPtr< cohtml::IViewListener > InViewListener, TSharedPtr< cohtml::ITextInputHandler > InTextInputHandler, TEnumAsByte< enum TextureFilter > & InFilter, UObject * InOwner, ECohtmlViewType InViewType =ECohtmlViewType::Coh_Unknown)
cohtml::View *GetView() const
const FCohTextureRHIRef &GetRenderTargetTextureRHI() const
const FCohTextureRHIRef &GetMSAATextureRHI() 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)
voidCreateView(const cohtml::ViewSettings & InCohViewSettings, const FString & URL, FCohtmlUEViewSettings & InViewSettingsUE)
voidRecreateView(const cohtml::ViewSettings & InCohViewSettings, const FString & URL, FCohtmlUEViewSettings & InViewSettingsUE)
voidSetRunAdvanceConcurrently(bool bEnable)
voidEnableRendering(bool bEnable)
boolUpdate()
voidWaitForAdvance()
boolHasRequestedView() const
boolHasUnpaintedFrames() const
cohtml::ViewRenderer *GetViewRenderer() const
FCohtmlRendererHolderSharedPtrGetSystemRenderer() const
void *operator new(size_t Size)
voidoperator delete(void * Ptr)
voidPaint_GameThread()
TStrongObjectPtr< UMultithreadAwareCompositorWrapper >GetCompositorWrapper()
TStrongObjectPtr< UCohCustomMaterialDrawer >GetCustomMaterialDrawer()
voidSetCompositorInterface(UObject * CompositorOwner, ICompositorInterfaceUnreal * InCompositorInterface)
voidAdvanceCompositorAndCustomEffects()
voidSignalToCompositorAndCustomEffects(unsigned ViewId, unsigned ViewFrameId)
doubleGetCurrentTimepoint()
boolCheckConfiguredForCustomEffects(bool bLogError =true)
uint32GetWidth() const
uint32GetHeight() const
FCohtmlUEViewSettings &GetViewSettingsUE()
Name
std::atomic< bool >bPainted
Name
cohtml::View *View
FCohtmlViewWrapper(
TSharedPtr< cohtml::IViewListener > InViewListener,
TSharedPtr< cohtml::ITextInputHandler > InTextInputHandler,
TEnumAsByte< enum TextureFilter > & InFilter,
UObject * InOwner,
ECohtmlViewType InViewType =ECohtmlViewType::Coh_Unknown
)
cohtml::View * GetView() const
const FCohTextureRHIRef & GetRenderTargetTextureRHI() const
const FCohTextureRHIRef & GetMSAATextureRHI() const
UTexture * GetUITexture() const
UTextureRenderTarget2D * GetUITextureRT() const
void BeginDestroy()
bool IsReadyForFinishDestroy()
void WaitForFinishDestroy()
void FinishDestroy()
void UninitializeComponent()
void SetOwner(
UObject * InOwner
)
void EnqueueResizeRenderingCommand(
uint32 Width,
uint32 Height
)
void ResizeOnNextTick(
uint32 Width,
uint32 Height
)
void Resize(
uint32 Width,
uint32 Height
)
void ResizeRenderTarget(
uint32 Width,
uint32 Height
)
void Paint(
FRHICommandListImmediate & CmdList,
uint32 CohFrameId
)
void CreateView(
const cohtml::ViewSettings & InCohViewSettings,
const FString & URL,
FCohtmlUEViewSettings & InViewSettingsUE
)
void RecreateView(
const cohtml::ViewSettings & InCohViewSettings,
const FString & URL,
FCohtmlUEViewSettings & InViewSettingsUE
)
inline void SetRunAdvanceConcurrently(
bool bEnable
)
void EnableRendering(
bool bEnable
)
bool Update()
void WaitForAdvance()
bool HasRequestedView() const
bool HasUnpaintedFrames() const
cohtml::ViewRenderer * GetViewRenderer() const
FCohtmlRendererHolderSharedPtr GetSystemRenderer() const
inline void * operator new(
size_t Size
)
inline void operator delete(
void * Ptr
)
void Paint_GameThread()
TStrongObjectPtr< UMultithreadAwareCompositorWrapper > GetCompositorWrapper()
TStrongObjectPtr< UCohCustomMaterialDrawer > GetCustomMaterialDrawer()
void SetCompositorInterface(
UObject * CompositorOwner,
ICompositorInterfaceUnreal * InCompositorInterface
)

function AdvanceCompositorAndCustomEffects

Section titled “function AdvanceCompositorAndCustomEffects”
void AdvanceCompositorAndCustomEffects()

function SignalToCompositorAndCustomEffects

Section titled “function SignalToCompositorAndCustomEffects”
void SignalToCompositorAndCustomEffects(
unsigned ViewId,
unsigned ViewFrameId
)
double GetCurrentTimepoint()
bool CheckConfiguredForCustomEffects(
bool bLogError =true
)
inline uint32 GetWidth() const
inline uint32 GetHeight() const
inline FCohtmlUEViewSettings & GetViewSettingsUE()
std::atomic< bool > bPainted;
cohtml::View * View;