Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/FTexture2DBuilder
Description
Unlock the Mip 0 buffer and update the texture rendering data. This does not PostEditChange() so any materials using this texture may not be updated, the caller must do that.
| Name | Commit |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/AssetUtils/Texture2DBuilder.h |
| Include Path | #include "AssetUtils/Texture2DBuilder.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/AssetUtils/Texture2DBuilder.cpp |
void Commit
(
bool bUpdateSourceData
)
Parameters
| Name | Remarks |
|---|---|
| bUpdateSourceData | if true, UpdateSourceData() is called to copy the current PlatformData to the SourceData |