Files
UnrealEngineUWP/Engine/Source/Editor/VirtualTexturingEditor/Public/VirtualTexturingEditorModule.h
nick darnell 9e765542af Editor - Fixing an ASan bug in the category paths, need to declare them statically so that the compiler doesn't free the list too early.
Editor - Upgrading the Texture AssetTypeActions to be AssetDefinitions.

#jira UE-169989
#jira UE-165574

[CL 23121796 by nick darnell in ue5-main branch]
2022-11-14 13:18:14 -05:00

23 lines
946 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
class UTexture2D;
class UMaterial;
/** Module for virtual texturing editor extensions. */
class IVirtualTexturingEditorModule : public IModuleInterface
{
public:
/** Returns true if the component describes a runtime virtual texture that has streaming low mips. */
virtual bool HasStreamedMips(class URuntimeVirtualTextureComponent* InComponent) const = 0;
/** Build the contents of the streaming low mips. */
virtual bool BuildStreamedMips(class URuntimeVirtualTextureComponent* InComponent) const = 0;
virtual void ConvertVirtualTextures(const TArray<UTexture2D *>& Textures, bool bConvertBackToNonVirtual, const TArray<UMaterial *>* RelatedMaterials /* = nullptr */) const = 0;
virtual void ConvertVirtualTexturesWithDialog(const TArray<UTexture2D*>& Textures, bool bConvertBackToNonVirtual) const = 0;
};