Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Texture2DDynamic.h |
Include |
#include "Engine/Texture2DDynamic.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Texture2DDynamic.cpp |
void Init
(
int32 InSizeX,
int32 InSizeY,
EPixelFormat InFormat,
bool InIsResolveTarget
)
Initializes the texture with 1 mip-level and creates the render resource.
Parameter |
Description |
---|---|
InSizeX |
Width of the texture, in texels |
InSizeY |
Height of the texture, in texels |
InFormat |
Format of the texture, defaults to PF_B8G8R8A8 |
InIsResolveTarget |
Whether the texture can be used as a resolve target |