2019-08-21 08:57:14 -04:00
|
|
|
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
|
2019-08-21 09:38:23 -04:00
|
|
|
enum class ERuntimeVirtualTextureDebugType;
|
|
|
|
|
class URuntimeVirtualTextureComponent;
|
|
|
|
|
|
2019-08-21 08:57:14 -04:00
|
|
|
namespace RuntimeVirtualTexture
|
|
|
|
|
{
|
|
|
|
|
/** Returns true if the component describes a runtime virtual texture that has streaming mips. */
|
2019-08-21 09:38:23 -04:00
|
|
|
bool HasStreamedMips(URuntimeVirtualTextureComponent* InComponent);
|
2019-08-21 08:57:14 -04:00
|
|
|
|
|
|
|
|
/** Build the streaming mips and store in the component's associated URuntimeVirtualTexture object. */
|
2019-08-21 09:38:23 -04:00
|
|
|
bool BuildStreamedMips(URuntimeVirtualTextureComponent* InComponent, ERuntimeVirtualTextureDebugType DebugType);
|
2019-08-21 08:57:14 -04:00
|
|
|
};
|