Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetRenderingLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetRenderingLibrary.h |
Include | #include "Kismet/KismetRenderingLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Private/KismetRenderingLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Rendering", Meta=(WorldContext="WorldContextObject"))
static UTextureRenderTarget2D * CreateRenderTarget2D
(
UObject * WorldContextObject,
int32 Width,
int32 Height,
ETextureRenderTargetFormat Format,
FLinearColor ClearColor,
bool bAutoGenerateMipMaps,
bool bSupportUAVs
)
Remarks
Creates a new render target and initializes it to the specified dimensions