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 FTexture2DRHIRef & | GetRenderTargetTextureRHI() const |
const FTexture2DRHIRef & | GetMSAATextureRHI() const |
FCohStencilBuffer * | GetDepthStencilTexture() const |
UTexture * | GetUITexture() const |
UTextureRenderTarget2D * | GetUITextureRT() const |
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() |
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 * InCompositor) |
void | SetCustomEffectHandler(UCohCustomMaterialDrawer * InHandler) |
void | SignalToCompositor(unsigned ViewId, unsigned ViewFrameId) |
double | GetCurrentTimepoint() |
uint32 | GetWidth() const |
uint32 | GetHeight() const |
FCohtmlUEViewSettings & | GetViewSettingsUE() |
Public Attributes #
Protected Attributes #
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 FTexture2DRHIRef & GetRenderTargetTextureRHI() const
function GetMSAATextureRHI #
const FTexture2DRHIRef & 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 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;