Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UTextureRenderTarget2DArray
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTarget2DArray.h |
Include | #include "Engine/TextureRenderTarget2DArray.h" |
Source | /Engine/Source/Runtime/Engine/Private/TextureRenderTarget2DArray.cpp |
UTexture2DArray * ConstructTexture2DArray
(
UObject * InOuter,
const FString & InNewTextureName,
EObjectFlags InObjectFlags,
uint32 InFlags,
TArray < uint8 > * InAlphaOverride
)
Remarks
Utility for creating a new UTexture2DArray from a UTextureRenderTarget2DArray New UTexture2DArray object.
Parameters
Name | Description |
---|---|
InOuter | Outer to use when constructing the new UTexture2DArray. |
InNewTextureName | Name of new UTexture2DArray object. |
InObjectFlags | Flags to apply to the new UTexture2DArray object |
InFlags | Various control flags for operation (see EConstructTextureFlags) |
InAlphaOverride | If specified, the values here will become the alpha values in the resulting texture |