// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------

namespace Win32.Graphics.Direct3D.Fxc;

/// <unmanaged>D3DCOMPILE</unmanaged>
[Flags]
public enum CompileFlags : uint
{
	None = 0,
	/// <unmanaged>D3DCOMPILE_DEBUG</unmanaged>
	Debug = 1,
	/// <unmanaged>D3DCOMPILE_SKIP_VALIDATION</unmanaged>
	SkipValidation = 2,
	/// <unmanaged>D3DCOMPILE_SKIP_OPTIMIZATION</unmanaged>
	SkipOptimization = 4,
	/// <unmanaged>D3DCOMPILE_PACK_MATRIX_ROW_MAJOR</unmanaged>
	PackMatrixRowMajor = 8,
	/// <unmanaged>D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR</unmanaged>
	PackMatrixColumnMajor = 16,
	/// <unmanaged>D3DCOMPILE_PARTIAL_PRECISION</unmanaged>
	PartialPrecision = 32,
	/// <unmanaged>D3DCOMPILE_FORCE_VS_SOFTWARE_NO_OPT</unmanaged>
	ForceVSSoftwareNoOpt = 64,
	/// <unmanaged>D3DCOMPILE_FORCE_PS_SOFTWARE_NO_OPT</unmanaged>
	ForcePSSoftwareNoOpt = 128,
	/// <unmanaged>D3DCOMPILE_NO_PRESHADER</unmanaged>
	NoPreshader = 256,
	/// <unmanaged>D3DCOMPILE_AVOID_FLOW_CONTROL</unmanaged>
	AvoidFlowControl = 512,
	/// <unmanaged>D3DCOMPILE_PREFER_FLOW_CONTROL</unmanaged>
	PreferFlowControl = 1024,
	/// <unmanaged>D3DCOMPILE_ENABLE_STRICTNESS</unmanaged>
	EnableStrictness = 2048,
	/// <unmanaged>D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY</unmanaged>
	EnableBackwardsCompatibility = 4096,
	/// <unmanaged>D3DCOMPILE_IEEE_STRICTNESS</unmanaged>
	IeeeStrictness = 8192,
	/// <unmanaged>D3DCOMPILE_OPTIMIZATION_LEVEL0</unmanaged>
	OptimizationLevel0 = 16384,
	/// <unmanaged>D3DCOMPILE_OPTIMIZATION_LEVEL1</unmanaged>
	OptimizationLevel1 = 0,
	/// <unmanaged>D3DCOMPILE_OPTIMIZATION_LEVEL2</unmanaged>
	OptimizationLevel2 = 49152,
	/// <unmanaged>D3DCOMPILE_OPTIMIZATION_LEVEL3</unmanaged>
	OptimizationLevel3 = 32768,
	/// <unmanaged>D3DCOMPILE_RESERVED16</unmanaged>
	Reserved16 = 65536,
	/// <unmanaged>D3DCOMPILE_RESERVED17</unmanaged>
	Reserved17 = 131072,
	/// <unmanaged>D3DCOMPILE_WARNINGS_ARE_ERRORS</unmanaged>
	WarningsAreErrors = 262144,
	/// <unmanaged>D3DCOMPILE_RESOURCES_MAY_ALIAS</unmanaged>
	ResourcesMayAlias = 524288,
	/// <unmanaged>D3DCOMPILE_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES</unmanaged>
	EnableUnboundedDescriptorTables = 1048576,
	/// <unmanaged>D3DCOMPILE_ALL_RESOURCES_BOUND</unmanaged>
	AllResourcesBound = 2097152,
	/// <unmanaged>D3DCOMPILE_DEBUG_NAME_FOR_SOURCE</unmanaged>
	DebugNameForSource = 4194304,
	/// <unmanaged>D3DCOMPILE_DEBUG_NAME_FOR_BINARY</unmanaged>
	DebugNameForBinary = 8388608,
}
