Files
UnrealEngineUWP/Engine/Source/Runtime/WebBrowser/Private/CEF/CEFWebBrowserWindowRHIHelper.h
alfred reynolds 00ff2ce5ad - Update copyright header in CEF files to match the requirements in the UE5 branch
#jira UE-110192
#jira UE-110195
#jira UE-110196
[FYI] wes.fudala
[FYI] JeanFrancois.Dube
#horde 47017
#horde 47016

#ROBOMERGE-SOURCE: CL 15657948 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15657981 by alfred reynolds in ue5-main branch]
2021-03-09 15:32:23 -04:00

37 lines
806 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#if WITH_CEF3
#include "Layout/Geometry.h"
class FSlateTexture2DRHIRef;
class FSlateUpdatableTexture;
/**
* Implementation of RHI renderer details for the CEF accelerated rendering path
*/
class FCEFWebBrowserWindowRHIHelper
{
public:
/** Virtual Destructor. */
virtual ~FCEFWebBrowserWindowRHIHelper();
public:
static bool BUseRHIRenderer();
FSlateUpdatableTexture* CreateTexture(void *ShareHandle);
void UpdateSharedHandleTexture(void* SharedHandle, FSlateUpdatableTexture* SlateTexture, const FIntRect& DirtyIn);
void UpdateCachedGeometry(const FGeometry& AllottedGeometry);
TOptional<FSlateRenderTransform> GetWebBrowserRenderTransform() const;
private:
FGeometry AllottedGeometry;
};
#endif