Add D2D1PixelShaderEffect.GetEffectId<T>() API

このコミットが含まれているのは:
Sergio Pedri committed 2023-09-27 14:04:04 +02:00
1 親 321430b6da
コミット 4066899e44
2ファイル変更
+20 -5

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

+1 -1
ファイルの表示
@@ -165,7 +165,7 @@ internal unsafe partial struct PixelShaderEffect
private static For<T> CreateInstance()
{
// Load all shader properties
Guid shaderId = typeof(T).GUID;
Guid shaderId = D2D1PixelShaderEffect.GetEffectId<T>();
int constantBufferSize = D2D1PixelShader.GetConstantBufferSize<T>();
D2D1BufferPrecision bufferPrecision = D2D1PixelShader.GetOutputBufferPrecision<T>();
D2D1ChannelDepth channelDepth = D2D1PixelShader.GetOutputBufferChannelDepth<T>();