Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UTexture > GetBuiltTextureSize
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/Texture.h |
Include | #include "Engine/Texture.h" |
Source | /Engine/Source/Runtime/Engine/Private/Texture.cpp |
void GetBuiltTextureSize
(
const ITargetPlatform * TargetPlatform,
int32 & OutSizeX,
int32 & OutSizeY,
int32 & OutSizeZ
) const
Remarks
Get the dimensions of the largest mip of the texture when built for the target platform accounting for LODBias and other constraints