UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FTextureUpdateContext Struct Reference

#include <TextureMipDataProvider.h>

Public Types

typedef int32 EThreadType
 

Public Member Functions

 FTextureUpdateContext (const UTexture *InTexture, EThreadType InCurrentThread)
 
 FTextureUpdateContext (const UStreamableRenderAsset *InTexture, EThreadType InCurrentThread)
 
EThreadType GetCurrentThread () const
 

Public Attributes

const UTextureTexture = nullptr
 
FStreamableTextureResourceResource = nullptr
 
TArrayView< const FTexture2DMipMap * > MipsView
 
EThreadType CurrentThread
 

Detailed Description

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

Member Typedef Documentation

◆ EThreadType

Constructor & Destructor Documentation

◆ FTextureUpdateContext() [1/2]

FTextureUpdateContext::FTextureUpdateContext ( const UTexture InTexture,
EThreadType  InCurrentThread 
)

◆ FTextureUpdateContext() [2/2]

FTextureUpdateContext::FTextureUpdateContext ( const UStreamableRenderAsset InTexture,
EThreadType  InCurrentThread 
)

Member Function Documentation

◆ GetCurrentThread()

EThreadType FTextureUpdateContext::GetCurrentThread ( ) const
inline

Member Data Documentation

◆ CurrentThread

EThreadType FTextureUpdateContext::CurrentThread

◆ MipsView

TArrayView<const FTexture2DMipMap*> FTextureUpdateContext::MipsView

The array view of streamable mips from the asset. Takes into account FStreamableRenderResourceState::AssetLODBias and FStreamableRenderResourceState::MaxNumLODs.

◆ Resource

FStreamableTextureResource* FTextureUpdateContext::Resource = nullptr

The current streamabble resource of this texture.

◆ Texture

const UTexture* FTextureUpdateContext::Texture = nullptr

The documentation for this struct was generated from the following files: