![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 UTexture * | Texture = nullptr |
| FStreamableTextureResource * | Resource = nullptr |
| TArrayView< const FTexture2DMipMap * > | MipsView |
| EThreadType | CurrentThread |
A constant context used throughout the texture stream in update tick. Hold useful information for either FTextureMipDataProvider or FTextureMipAllocator.
| FTextureUpdateContext::FTextureUpdateContext | ( | const UTexture * | InTexture, |
| EThreadType | InCurrentThread | ||
| ) |
| FTextureUpdateContext::FTextureUpdateContext | ( | const UStreamableRenderAsset * | InTexture, |
| EThreadType | InCurrentThread | ||
| ) |
|
inline |
| EThreadType FTextureUpdateContext::CurrentThread |
| TArrayView<const FTexture2DMipMap*> FTextureUpdateContext::MipsView |
The array view of streamable mips from the asset. Takes into account FStreamableRenderResourceState::AssetLODBias and FStreamableRenderResourceState::MaxNumLODs.
| FStreamableTextureResource* FTextureUpdateContext::Resource = nullptr |
The current streamabble resource of this texture.
| const UTexture* FTextureUpdateContext::Texture = nullptr |