Add support for baking env probes in cooked game

This commit is contained in:
Wojciech Figat
2022-07-18 16:32:50 +02:00
parent fb3601dac6
commit 6061a0a344
9 changed files with 62 additions and 60 deletions

View File

@@ -45,6 +45,8 @@ API_CLASS(Abstract, NoSpawn) class FLAXENGINE_API TextureBase : public BinaryAss
/// <param name="linear">True if use linear filer, otherwise point filtering.</param>
/// <returns>True if failed, otherwise false.</returns>
bool GenerateMip(int32 mipIndex, bool linear = false);
void FromTextureData(const TextureData& textureData, bool generateMips = false);
};
protected: