UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AndroidJavaMediaFrameData.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#if USE_ANDROID_JNI
9#include "RHI.h"
10#include "RHIUtilities.h"
11
13{
14public:
17
20
22
23 operator bool() const
24 {
25 return (FrameDataGlobalRef != nullptr);
26 }
27
28 bool IsReadyToClean()
29 {
30 if (Fence.IsValid())
31 {
32 return (Fence->Poll());
33 }
34 return true;
35 }
36
38 void CleanUp();
39
40 jobject Extract();
43
44private:
47
50
58};
59#endif //USE_ANDROID_JNI
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const bool
Definition NetworkReplayStreaming.h:178
Definition RHICommandList.h:4626
Definition IMediaTextureSample.h:199