Navigation
API > API/Runtime > API/Runtime/Engine
UTextureMipDataProviderFactory defines an interface to create instances of FTextureMipDataProvider. Derived classes from UTextureMipDataProviderFactory can be attached to UTexture::MipDataProviderFactory to define a new source for mip content (instead of the default disk file or ddc mips). Usecases include dynamic textures that need to be driven by the texture streaming or textures that get they data over the network.
| Name | UTextureMipDataProviderFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/TextureMipDataProviderFactory.h |
| Include Path | #include "Engine/TextureMipDataProviderFactory.h" |
Syntax
UCLASS (Abstract, HideCategories=Object, MinimalAPI)
class UTextureMipDataProviderFactory : public UAssetUserData
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAssetUserData → UTextureMipDataProviderFactory
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTextureMipDataProviderFactory
(
const FObjectInitializer& ObjectInitializer |
Engine/TextureMipDataProviderFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FTextureMipDataProvider * AllocateMipDataProvider
(
UTexture* Asset |
Create a FTextureMipDataProvider to handle a single StreamIn mip operation. | Engine/TextureMipDataProviderFactory.h | |
virtual bool ShouldAllowPlatformTiling
(
const UTexture* Owner |
Return whether the mip data provided by this provider is in "offline processed" format (i.e. pre-tiled specifically for the target platform) | Engine/TextureMipDataProviderFactory.h | |
virtual bool WillProvideMipDataWithoutDisk() |
Returns true if TextureMipDataProviders allocated by this factory can provide MipData by themselves, even without loading from disk at all, so streaming can be enabled for their textures. | Engine/TextureMipDataProviderFactory.h |