2019-12-26 15:33:43 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2019-08-21 08:42:46 -04:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2022-08-24 22:45:13 -04:00
|
|
|
#include "HAL/Platform.h"
|
2021-02-03 14:57:28 -04:00
|
|
|
#include "ThumbnailRendering/DefaultSizedThumbnailRenderer.h"
|
2022-08-24 22:45:13 -04:00
|
|
|
#include "UObject/UObjectGlobals.h"
|
|
|
|
|
|
2019-08-21 08:42:46 -04:00
|
|
|
#include "RuntimeVirtualTextureThumbnailRenderer.generated.h"
|
|
|
|
|
|
2022-08-24 22:45:13 -04:00
|
|
|
class FCanvas;
|
|
|
|
|
class FRenderTarget;
|
|
|
|
|
class UObject;
|
|
|
|
|
|
2019-08-21 08:42:46 -04:00
|
|
|
UCLASS(MinimalAPI)
|
2021-02-03 14:57:28 -04:00
|
|
|
class URuntimeVirtualTextureThumbnailRenderer : public UDefaultSizedThumbnailRenderer
|
2019-08-21 08:42:46 -04:00
|
|
|
{
|
|
|
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
|
|
|
|
|
|
//~ Begin UThumbnailRenderer Interface.
|
|
|
|
|
virtual bool CanVisualizeAsset(UObject* Object);
|
2020-01-29 10:59:27 -05:00
|
|
|
virtual void Draw(UObject* Object, int32 X, int32 Y, uint32 Width, uint32 Height, FRenderTarget*, FCanvas* Canvas, bool bAdditionalViewFamily) override;
|
2019-08-21 08:42:46 -04:00
|
|
|
//~ EndUThumbnailRenderer Interface.
|
|
|
|
|
};
|