Files
UnrealEngine/Engine/Plugins/Media/ElectraCodecs/Source/ElectraDecoders/Public/Apple/AppleElectraDecoderResourceDelegate.h
2025-05-18 13:04:45 +08:00

24 lines
592 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "HAL/Platform.h"
#include "IElectraDecoderResourceDelegateBase.h"
#if PLATFORM_MAC || PLATFORM_IOS || PLATFORM_TVOS
class IElectraDecoderResourceDelegateApple : public IElectraDecoderResourceDelegateBase
{
public:
virtual ~IElectraDecoderResourceDelegateApple() = default;
// Hardware decoders might need to know the current Metal device.
virtual bool GetMetalDevice(void **OutMetalDevice) = 0;
};
using IElectraDecoderResourceDelegate = IElectraDecoderResourceDelegateApple;
#endif