Remove some unnecessary casts
このコミットが含まれているのは:
1 親
73dc42c36c
コミット
34837b8f6f
2ファイル変更
+2
-6
検索条件に一致するファイルはありません
@@ -100,17 +100,13 @@ public static unsafe class D2D1PixelShaderEffect
|
||||
D2D1_PROPERTY_BINDING d2D1PropertyBinding;
|
||||
d2D1PropertyBinding.propertyName = (ushort*)pPropertyName;
|
||||
d2D1PropertyBinding.getFunction =
|
||||
(delegate* unmanaged[Stdcall]<IUnknown*, byte*, uint, uint*, HRESULT>)
|
||||
#if NET6_0_OR_GREATER
|
||||
(delegate* unmanaged<IUnknown*, byte*, uint, uint*, int>)
|
||||
&PixelShaderEffect.GetConstantBuffer;
|
||||
#else
|
||||
(void*)Marshal.GetFunctionPointerForDelegate(PixelShaderEffect.GetConstantBufferWrapper);
|
||||
#endif
|
||||
d2D1PropertyBinding.setFunction =
|
||||
(delegate* unmanaged[Stdcall]<IUnknown*, byte*, uint, HRESULT>)
|
||||
#if NET6_0_OR_GREATER
|
||||
(delegate* unmanaged<IUnknown*, byte*, uint, int>)
|
||||
&PixelShaderEffect.SetConstantBuffer;
|
||||
#else
|
||||
(void*)Marshal.GetFunctionPointerForDelegate(PixelShaderEffect.SetConstantBufferWrapper);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする