![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Texture2DUpdate.h>
Public Types | |
| typedef int32 | EThreadType |
Public Member Functions | |
| FTexture2DUpdateContext (const UTexture2D *InTexture, EThreadType InCurrentThread) | |
| FTexture2DUpdateContext (const UStreamableRenderAsset *InTexture, EThreadType InCurrentThread) | |
| EThreadType | GetCurrentThread () const |
Public Attributes | |
| const UTexture2D * | Texture = nullptr |
| FTexture2DResource * | Resource = nullptr |
| TArrayView< const FTexture2DMipMap * > | MipsView |
| EThreadType | CurrentThread = 0 |
A context used to update or proceed with the next update step. The texture and resource references could be stored in the update object but are currently kept outside to avoid lifetime management within the object.
| FTexture2DUpdateContext::FTexture2DUpdateContext | ( | const UTexture2D * | InTexture, |
| EThreadType | InCurrentThread | ||
| ) |
| FTexture2DUpdateContext::FTexture2DUpdateContext | ( | const UStreamableRenderAsset * | InTexture, |
| EThreadType | InCurrentThread | ||
| ) |
|
inline |
| EThreadType FTexture2DUpdateContext::CurrentThread = 0 |
The thread on which the context was created.
| TArrayView<const FTexture2DMipMap*> FTexture2DUpdateContext::MipsView |
The array view of streamable mips from the asset. Takes into account FStreamableRenderResourceState::AssetLODBias and FStreamableRenderResourceState::MaxNumLODs.
| FTexture2DResource* FTexture2DUpdateContext::Resource = nullptr |
The current 2D resource of this texture.
| const UTexture2D* FTexture2DUpdateContext::Texture = nullptr |
The texture to update, this must be the same one as the one used when creating the FTexture2DUpdate object.