Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UTexture2D
Description
If the texture has a cpu accessible copy, this returns that copy. It will wait for encoding in the editor, but otherwise may return an invalid reference if the texture is not ready or doesn't have a cpu copy.
| Name | GetCPUCopy |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Texture2D.h |
| Include Path | #include "Engine/Texture2D.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Texture2D.cpp |
FSharedImageConstRef GetCPUCopy() const