Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UTextureRenderTarget2D
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateTexture2D
(
UTexture2D* InTexture2D, |
Utility for updating an existing UTexture2D from a TextureRenderTarget2D | Engine/TextureRenderTarget2D.h | |
PRAGMA_DISABLE_DEPRECATION_WARNINGS void UpdateTexture2D
(
UTexture2D* InTexture2D, |
Engine/TextureRenderTarget2D.h |
UpdateTexture2D(UTexture2D , ETextureSourceFormat, uint32, TArray< uint8 > )
Description
Utility for updating an existing UTexture2D from a TextureRenderTarget2D
| Name | UpdateTexture2D |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTarget2D.h |
| Include Path | #include "Engine/TextureRenderTarget2D.h" |
| Source | /Engine/Source/Runtime/Engine/Private/TextureRenderTarget2D.cpp |
void UpdateTexture2D
(
UTexture2D * InTexture2D,
ETextureSourceFormat InTextureFormat,
uint32 Flags,
TArray < uint8 > * AlphaOverride
)
Parameters
| Name | Remarks |
|---|---|
| InTexture2D | Texture which will contain the content of this render target after the call. |
| InTextureFormat | Format in which the texture should be stored. |
| Flags | Optional Various control flags for operation (see EConstructTextureFlags) |
| AlphaOverride | Optional If non-null, the values here will become the alpha values in the resulting texture |
UpdateTexture2D(UTexture2D , ETextureSourceFormat, uint32, TArray< uint8 > , FTextureChangingDelegate)
| Name | UpdateTexture2D |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTarget2D.h |
| Include Path | #include "Engine/TextureRenderTarget2D.h" |
| Source | /Engine/Source/Runtime/Engine/Private/TextureRenderTarget2D.cpp |
PRAGMA_DISABLE_DEPRECATION_WARNINGS void UpdateTexture2D
(
UTexture2D * InTexture2D,
ETextureSourceFormat InTextureFormat,
uint32 Flags,
TArray < uint8 > * AlphaOverride,
FTextureChangingDelegate TextureChangingDelegate
)