Enum type declaring Valve texture flags used by the embedded ValveResourceFormat reader. It defines bit flags like SUGGEST_CLAMPS, NO_LOD, CUBE_TEXTURE, etc., using bit shifts.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat.Utils;
namespace HumanoidRetargeter.EditorTools.Embedded.ValveResourceFormat;
/// <summary>
/// Valve texture flags.
/// </summary>
[Flags]
public enum VTexFlags
{
#pragma warning disable CS1591
SUGGEST_CLAMPS = 1 << 0,
SUGGEST_CLAMPT = 1 << 1,
SUGGEST_CLAMPU = 1 << 2,
NO_LOD = 1 << 3,
CUBE_TEXTURE = 1 << 4,
VOLUME_TEXTURE = 1 << 5,
TEXTURE_ARRAY = 1 << 6,
PANORAMA_DILATE_COLOR = 1 << 7,
PANORAMA_CONVERT_TO_YCOCG_DXT5 = 1 << 8,
CREATE_LINEAR_API_TEXTURE = 1 << 9,
#pragma warning restore CS1591
}