32 lines
669 B
C#
32 lines
669 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
// https://github.com/KFreon/CSharpImageLibrary
|
|||
|
|
|||
|
namespace CSharpImageLibrary.DDS
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Determines how alpha is handled.
|
|||
|
/// </summary>
|
|||
|
public enum AlphaSettings
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Keeps any existing alpha.
|
|||
|
/// </summary>
|
|||
|
KeepAlpha,
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Premultiplies RBG and Alpha channels. Alpha remains.
|
|||
|
/// </summary>
|
|||
|
Premultiply,
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Removes alpha channel.
|
|||
|
/// </summary>
|
|||
|
RemoveAlphaChannel,
|
|||
|
}
|
|||
|
}
|