Files
UnrealEngine/Engine/Source/Editor/VirtualTexturingEditor/Private/RuntimeVirtualTextureBuildStreamingMips.h
2025-05-18 13:04:45 +08:00

24 lines
683 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "VirtualTexturingEditorModule.h"
class URuntimeVirtualTextureComponent;
class UWorld;
enum class EShadingPath;
namespace RuntimeVirtualTexture
{
/** Returns true if the component describes a runtime virtual texture that has streaming mips. */
bool HasStreamedMips(EShadingPath ShadingPath, URuntimeVirtualTextureComponent* InComponent);
/** Build the streaming mips texture. */
bool BuildStreamedMips(EShadingPath ShadingPath, URuntimeVirtualTextureComponent* InComponent);
FBuildAllStreamedMipsResult BuildAllStreamedMips(const FBuildAllStreamedMipsParams& InParams);
};