Use infinite RECT for default mapping with 0 inputs
このコミットが含まれているのは:
1 親
58cba3f6d1
コミット
4aeb97113a
2ファイル変更
+17
-2
検索条件に一致するファイルはありません
+4
-2
@@ -208,8 +208,10 @@ partial struct PixelShaderEffect
|
||||
}
|
||||
else if (inputRectCount == 0)
|
||||
{
|
||||
// If there are no inputs, just ignore (users will need a custom mapping)
|
||||
*outputRect = default;
|
||||
// If there are no inputs, make the output rectangle infinite. This is useful
|
||||
// to make output-only effects work fine by default, without needing a custom
|
||||
// transform. In this case, the target area will be the output node anyway.
|
||||
outputRect->MakeD2D1Infinite();
|
||||
|
||||
@this->inputRect = default;
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする