Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UTexture
Description
Creates a new resource for the texture, and updates any cached references to the resource. It is always best practice to call BlockOnAnyAsyncBuild() before assuming the resource is ready if you need it immediately, even if you use the Synchronous flag to ensure the texture compiler has finished with it.
Derived Overrides
- UCanvasRenderTarget2D::UpdateResourceWithParams
- UMeshPaintVirtualTexture::UpdateResourceWithParams
- UTexture2D::UpdateResourceWithParams
- UTexture2DArray::UpdateResourceWithParams
- UTextureCube::UpdateResourceWithParams
- UTextureCubeArray::UpdateResourceWithParams
- UVolumeTexture::UpdateResourceWithParams
| Name | UpdateResourceWithParams |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
| Include Path | #include "Engine/Texture.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Texture.cpp |
virtual void UpdateResourceWithParams
(
EUpdateResourceFlags InFlags
)