You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Moved dllexport from type to methods/staticvar in all Engine runtime code. This improves compile times, memory and performance in dll builds [CL 26082269 by henrik karlsson in ue5-main branch]
35 lines
674 B
C++
35 lines
674 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "UObject/Interface.h"
|
|
|
|
#include "MediaSourceRendererInterface.generated.h"
|
|
|
|
class UMediaSource;
|
|
class UMediaTexture;
|
|
|
|
/**
|
|
* Interface for an object that can render a media source to a texture.
|
|
*/
|
|
UINTERFACE(MinimalAPI)
|
|
class UMediaSourceRendererInterface : public UInterface
|
|
{
|
|
GENERATED_BODY()
|
|
};
|
|
|
|
class IMediaSourceRendererInterface
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
/**
|
|
* Open the media source to render a texture for.
|
|
*
|
|
* @param InMediaSource Media source to play.
|
|
* @return Media texture that will hold the image.
|
|
*/
|
|
virtual UMediaTexture* Open(UMediaSource* InMediaSource) = 0;
|
|
};
|