Add D2D1CompileOptions.StripReflectionData flag
このコミットが含まれているのは:
1 親
2dca94343b
コミット
b01e59ea1d
2ファイル変更
+12
-2
検索条件に一致するファイルはありません
@@ -155,6 +155,16 @@ public enum D2D1CompileOptions
|
||||
/// </remarks>
|
||||
WarningsAreErrors = (int)D3DCOMPILE.D3DCOMPILE_WARNINGS_ARE_ERRORS,
|
||||
|
||||
/// <summary>
|
||||
/// Strips the reflection data from the generated shader bytecode. The bytecode size will be smaller, but trying
|
||||
/// to perform reflection on the shader will return inaccurate results. It is recommend if not reflection is used.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This flag maps to <c>D3DCOMPILER_STRIP_REFLECTION_DATA</c>, when passed as input to <c>D3DStripShader</c>.
|
||||
/// For more info, see <see href="https://learn.microsoft.com/en-us/windows/win32/api/d3dcompiler/nf-d3dcompiler-d3dstripshader"/>.
|
||||
/// </remarks>
|
||||
StripReflectionData = 1 << 30,
|
||||
|
||||
/// <summary>
|
||||
/// This flag enables the support for shader linking. Specifically, when set, this flag causes the APIs from
|
||||
/// <see cref="D2D1ShaderCompiler"/> to compile the input shader twice: once as a full D2D1 shader, and once
|
||||
|
||||
@@ -131,8 +131,8 @@ public enum CompileOptions
|
||||
ResourcesMayAlias = 1 << 13,
|
||||
|
||||
/// <summary>
|
||||
/// Strips the reflection data from the generated shader bytecode. The bytecode size will be significantly lower, but
|
||||
/// trying to perform reflection on the shader will return inaccurate results. Recommend if not reflection is done.
|
||||
/// Strips the reflection data from the generated shader bytecode. The bytecode size will be significantly smaller, but
|
||||
/// trying to perform reflection on the shader will return inaccurate results. It is recommend if not reflection is used.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This flag maps to <c>-Qstrip_reflect</c>.
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする