UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CEFWebBrowserWindowRHIHelper.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
7
#if WITH_CEF3
8
9
#include "
Layout/Geometry.h
"
10
11
class
FSlateUpdatableTexture
;
12
13
#if PLATFORM_WINDOWS
14
#include "
Windows/WindowsHWrapper.h
"
15
#include "
Microsoft/COMPointer.h
"
16
17
#include "
Windows/AllowWindowsPlatformTypes.h
"
18
#include "d3d11.h"
19
#include "
Windows/HideWindowsPlatformTypes.h
"
20
#endif
// PLATFORM_WINDOWS
21
25
class
FCEFWebBrowserWindowRHIHelper
26
{
27
public
:
28
FCEFWebBrowserWindowRHIHelper
();
29
virtual
~FCEFWebBrowserWindowRHIHelper
() =
default
;
30
31
static
bool
BUseSupportedRHIRenderer
();
32
static
uint64_t
GetRHIAdapterLuid
();
33
34
public
:
35
FSlateUpdatableTexture
*
CreateSlateUpdatableTexture
(
const
FUintPoint
& TextureSize);
36
void
ReleaseSlateUpdatableTexture
(
FSlateUpdatableTexture
* SlateTexture);
37
38
bool
CopySharedTextureSync
(
FSlateUpdatableTexture
* SlateTexture,
void
*
SharedHandle
,
const
FIntRect
&
DirtyIn
);
39
40
private
:
41
bool
EnsureShareable
(
FSlateUpdatableTexture
* SlateTexture);
42
43
TMap<FSlateUpdatableTexture*, TSharedPtr<void>
>
SlateTextureHandles
;
44
45
#if PLATFORM_WINDOWS
46
TComPtr<ID3D11Device>
D3D11Device;
47
TComPtr<ID3D11DeviceContext>
D3D11DeviceContext
;
48
#endif
// PLATFORM_WINDOWS
49
};
50
51
#endif
AllowWindowsPlatformTypes.h
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
HideWindowsPlatformTypes.h
COMPointer.h
Geometry.h
WindowsHWrapper.h
FSlateUpdatableTexture
Definition
SlateUpdatableTexture.h:15
TComPtr
Definition
COMPointer.h:19
TMap
Definition
UnrealString.h.inl:34
UE::Math::TIntPoint< uint32 >
UE::Math::TIntRect< int32 >
Engine
Source
Runtime
WebBrowser
Private
CEF
CEFWebBrowserWindowRHIHelper.h
Generated by
1.9.8