Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/AssetUtils > API/Plugins/ModelingComponents/AssetUtils/FTexture2DBuilder > API/Plugins/ModelingComponents/AssetUtils/FTexture2DBuilder/Copy
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 |
bool Copy
(
const TImageBuilder < FVector3f > & SourceImage,
const bool bConvertToSRGB
)
Remarks
Populate texel values from floating-point SourceImage
Parameters
| Name | Description |
|---|---|
| bConvertToSRGB | if true, SourceImage is assumed to be Linear, and converted to SRGB for the Texture |