Navigation
API > API/Runtime > API/Runtime/Engine
A constant context used throughout the texture stream in update tick. Hold useful information for either FTextureMipDataProvider or FTextureMipAllocator.
| Name | FTextureUpdateContext |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Streaming/TextureMipDataProvider.h |
| Include Path | #include "Streaming/TextureMipDataProvider.h" |
Syntax
struct FTextureUpdateContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTextureUpdateContext
(
const UTexture* InTexture, |
Streaming/TextureMipDataProvider.h | ||
FTextureUpdateContext
(
const UStreamableRenderAsset* InTexture, |
Streaming/TextureMipDataProvider.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| EThreadType | int32 | Streaming/TextureMipDataProvider.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentThread | EThreadType | The current executing thread. | Streaming/TextureMipDataProvider.h | |
| MipsView | TArrayView< const FTexture2DMipMap * > | The array view of streamable mips from the asset. | Streaming/TextureMipDataProvider.h | |
| Resource | FStreamableTextureResource * | The current streamabble resource of this texture. | Streaming/TextureMipDataProvider.h | |
| Texture | const UTexture * | The texture to update, this must be the same one as the one used when creating the FTextureUpdate object. | Streaming/TextureMipDataProvider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EThreadType GetCurrentThread() |
Streaming/TextureMipDataProvider.h |