Rename pixel interfaces to IRead[Only|Write]NormalizedTextureMD<TPixel>
このコミットが含まれているのは:
1 親
f906dbaae0
コミット
9b05770168
40ファイル変更
+117
-117
検索条件に一致するファイルはありません
@@ -22,5 +22,5 @@ public interface IShaderRunner
|
||||
/// Any exceptions thrown by the runner will result in <see cref="ComputeShaderPanel.RenderingFailed"/>
|
||||
/// or <see cref="AnimatedComputeShaderPanel.RenderingFailed"/> to be raised.
|
||||
/// </remarks>
|
||||
bool TryExecute(IReadWriteTexture2D<Float4> texture, TimeSpan timespan, object? parameter);
|
||||
bool TryExecute(IReadWriteNormalizedTexture2D<Float4> texture, TimeSpan timespan, object? parameter);
|
||||
}
|
||||
@@ -57,7 +57,7 @@ public sealed class ShaderRunner<T> : IShaderRunner
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public bool TryExecute(IReadWriteTexture2D<Float4> texture, TimeSpan time, object? parameter)
|
||||
public bool TryExecute(IReadWriteNormalizedTexture2D<Float4> texture, TimeSpan time, object? parameter)
|
||||
{
|
||||
if (this.shaderFactory is Func<TimeSpan, T> shaderFactory)
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする