Generate unsafe accessors for fields as extension methods

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-20 20:51:40 +01:00
1 親 accb602f1f
コミット 785606dcf4
2ファイル変更
+33 -20

検索条件に一致するファイルはありません

+2
ファイルの表示
@@ -64,6 +64,7 @@ public partial class D2D1ReflectionServicesTests
[D2DRequiresScenePosition]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader41)]
[D2DGeneratedPixelShaderDescriptor]
[AutoConstructor]
internal readonly partial struct ReflectedShader : ID2D1PixelShader
{
private readonly float2 offset;
@@ -127,6 +128,7 @@ public partial class D2D1ReflectionServicesTests
[D2DInputCount(1)]
[D2DShaderProfile(D2D1ShaderProfile.PixelShader50)]
[D2DGeneratedPixelShaderDescriptor]
[AutoConstructor]
internal readonly partial struct ReflectedShaderWithDoubleOperations : ID2D1PixelShader
{
private readonly double amount;