Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UTextureRenderTarget
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanConvertToTexture
(
FText* OutErrorMessage |
Validates that the UTextureRenderTarget can be converted to a UTexture (e.g. supported format, valid size, etc.) | Engine/TextureRenderTarget.h | |
virtual bool CanConvertToTexture
(
ETextureSourceFormat& OutTextureSourceFormat, |
Validates that the UTextureRenderTarget can be converted to a UTexture (e.g. supported format, valid size, etc.) | Engine/TextureRenderTarget.h |
CanConvertToTexture(FText *)
Description
Validates that the UTextureRenderTarget can be converted to a UTexture (e.g. supported format, valid size, etc.)
| Name | CanConvertToTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTarget.h |
| Include Path | #include "Engine/TextureRenderTarget.h" |
| Source | /Engine/Source/Runtime/Engine/Private/TextureRenderTarget.cpp |
bool CanConvertToTexture
(
FText * OutErrorMessage
) const
True if render target can be converted to a texture
Parameters
| Name | Remarks |
|---|---|
| OutErrorMessage | (Optional) If passed, will contain an error message in case conversion is impossible |
CanConvertToTexture(ETextureSourceFormat &, EPixelFormat &, FText *)
Description
Validates that the UTextureRenderTarget can be converted to a UTexture (e.g. supported format, valid size, etc.)
| Name | CanConvertToTexture |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTarget.h |
| Include Path | #include "Engine/TextureRenderTarget.h" |
virtual bool CanConvertToTexture
(
ETextureSourceFormat & OutTextureSourceFormat,
EPixelFormat & OutPixelFormat,
FText * OutErrorMessage
) const
True if render target can be converted to a texture
Parameters
| Name | Remarks |
|---|---|
| OutPixelFormat | The format of the render target (only if conversion is possible) |
| OutTextureSourceFormat | The format of the texture that would be used if the UTextureRenderTarget was converted to a UTexture (only if conversion is possible) |
| OutErrorMessage | (Optional) If passed, will contain an error message in case conversion is impossible |