Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/AssetUtils > API/Plugins/ModelingComponents/AssetUtils/FTexture2DBuilder
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/AssetUtils/Texture2DBuilder.h |
| Include | #include "AssetUtils/Texture2DBuilder.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/AssetUtils/Texture2DBuilder.cpp |
void Commit
&40;
bool bUpdateSourceData
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| bUpdateSourceData | if true, UpdateSourceData() is called to copy the current PlatformData to the SourceData |