Remove TextureUtils
This commit is contained in:
@@ -110,14 +110,12 @@ API_CLASS(Namespace="FlaxEngine.Tools", Static) class FLAXENGINE_API TextureTool
|
||||
|
||||
public:
|
||||
#if USE_EDITOR
|
||||
|
||||
/// <summary>
|
||||
/// Checks whenever the given texture file contains alpha channel data with values different than solid fill of 1 (non fully opaque).
|
||||
/// </summary>
|
||||
/// <param name="path">The file path.</param>
|
||||
/// <returns>True if has alpha channel, otherwise false.</returns>
|
||||
static bool HasAlpha(const StringView& path);
|
||||
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
@@ -240,6 +238,8 @@ public:
|
||||
/// <returns>The sampled color (linear).</returns>
|
||||
static Color SampleLinear(const PixelFormatSampler* sampler, const Float2& uv, const void* data, const Int2& size, int32 rowPitch);
|
||||
|
||||
static PixelFormat ToPixelFormat(TextureFormatType format, int32 width, int32 height, bool canCompress);
|
||||
|
||||
private:
|
||||
enum class ImageType
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user