Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FImageUtils
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ImageUtils.h |
| Include | #include "ImageUtils.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ImageUtils.cpp |
static UTexture2D * CreateTexture2DFromImage
(
const FImageView & Image
)
Remarks
Creates a 2D texture from an FImage
NOTE: this makes a Transient texture with the Image in the PlatformData this is different than making a Texture via TextureSource.Init(Image) Returns a pointer to the constructed 2D texture object.
Parameters
| Name | Description |
|---|---|
| Image | Image that will be copied into a Texture |