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 |
void | ClearTexture() |
void | SetTexture(UTextureRenderTarget2D ** InTexture) |
void | BeginDestroy() |
bool | IsReadyForFinishDestroy() |
void | WaitForFinishDestroy() |
void | FinishDestroy() |
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 | EnqueueUserBackgroundDimensionsUpdateRT() |
void | UpdateUserBackgroundDimensions_RenderThread(FRHICommandListImmediate & CmdList) |
void | UpdateUserBackgroundWrappedTexture_GameThread() |
void | CreateView(const cohtml::ViewSettings & info, const FString & url, FCohtmlUEViewSettings & InViewSettingsUE) |
void | RecreateView(const cohtml::ViewSettings & info, const FString & url, FCohtmlUEViewSettings & InViewSettingsUE) |
void | SetRunAdvanceConcurrently(bool bEnable) |
bool | Update() |
void | WaitForAdvance() |
bool | IsReadyForBindings() const |
bool | HasRequestedView() const |
bool | IsTransparent() const |
cohtml::ViewRenderer * | GetViewRenderer() const |
FCohtmlRendererHolderSharedPtr | GetSystemRenderer() const |
void * | operator new(size_t Size) |
void | operator delete(void * Ptr) |
void | Paint_GameThread() |
void | SetCompositor(ICompositorInterfaceUnreal * compositor) |
void | SetCustomEffectHandler(UCohCustomMaterialDrawer * handler) |
void | SignalToCompositor(unsigned viewId, unsigned viewFrameId) |
double | GetCurrentTimepoint() |
uint32 | GetWidth() const |
uint32 | GetHeight() const |
FCohtmlUEViewSettings & | GetViewSettingsUE() |
UTextureRenderTarget2D * | CreateTexture(TextureFilter Filter, uint32 Width =0, uint32 Height =0) |
Public Attributes #
Protected Attributes #
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;