FTextureUpdateContext

A constant context used throughout the texture stream in update tick.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Streaming/TextureMipDataProvider.h

Include

#include "Streaming/TextureMipDataProvider.h"

Syntax

struct FTextureUpdateContext

Remarks

A constant context used throughout the texture stream in update tick. Hold useful information for either FTextureMipDataProvider or FTextureMipAllocator.

Variables

Name Description

Public variable

int32

 

CurrentFirstMipIndex

The current first mip before the update was requested.

Public variable

EThreadType

 

CurrentThread

The current executing thread.

Public variable

int32

 

NumRequestedMips

The number of requested mips after the update completes (PendingFirstMipIndex + NumRequestedMips - 1) being the smallest possible mip for this texture (typically 1x1).

Public variable

int32

 

PendingFirstMipIndex

The requested first mip after the update completes (smaller mip index are bigger, 0 being the biggest possible mips for that texture).

Public variable

UTexture *

 

Texture

The texture to update, this must be the same one as the one used when creating the FTextureUpdate object.

Constructors

Name Description

Public function

FTextureUpdateContext

(
    UTexture* InTexture,
    EThreadType InCurrentThread
)

Public function

FTextureUpdateContext

(
    UStreamableRenderAsset* InText...,
    EThreadType InCurrentThread
)

Functions

Typedefs

Name

Description

EThreadType

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