UTextureMipDataProviderFactory::AllocateMipDataProvider

Create a [FTextureMipDataProvider](API\Runtime\Engine\Streaming\FTextureMipDataProvider) to handle a single StreamIn mip operation.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/TextureMipDataProviderFactory.h

Include

#include "Engine/TextureMipDataProviderFactory.h"

Syntax

FTextureMipDataProvider * AllocateMipDataProvider
(
    UTexture * Asset,
    int32 NewMipCount
)

Remarks

Create a FTextureMipDataProvider to handle a single StreamIn mip operation. The object lifetime will be managed by FRenderAssetUpdate.

Parameters

Parameter

Description

InAsset

the texture on which the stream in operation will be performed.

NewMipCount

the total number mips after the stream in request.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss