Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/Texture > API/Plugins/InterchangeImport/Texture/FImportImageHelper
References
| Module | InterchangeImport |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/Texture/InterchangeTexturePayloadData.h |
| Include | #include "Texture/InterchangeTexturePayloadData.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/Texture/InterchangeTexturePayloadData.cpp |
static bool IsImportResolutionValid
&40;
int64 Width,
int64 Height,
bool bAllowNonPowerOfTwo,
FText &42; OutErrorMessage
&41;
Remarks
Tests if the given height and width specify a supported texture resolution to import; Can optionally check if the height/width are powers of two bool true if the given height/width represent a supported texture resolution, false if not
Parameters
| Name | Description |
|---|---|
| Width | The width of an imported texture whose validity should be checked |
| Height | The height of an imported texture whose validity should be checked |
| bAllowNonPowerOfTwo | Whether or not non-power-of-two textures are allowed |
| OutErrorMessage | Optional output for an error message |