Rename Gpu class to GraphicsDevice

このコミットが含まれているのは:
Sergio Pedri committed 2021-12-07 23:10:12 +01:00
1 親 19485cd3fe
コミット a0a3511efe
23ファイル変更
+88 -90

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

+2 -2
ファイルの表示
@@ -29,9 +29,9 @@ public sealed class ContouredLayersRunner : IShaderRunner
{
string filename = Path.Combine(Package.Current.InstalledLocation.Path, "Assets", "Textures", "RustyMetal.png");
this.texture = Gpu.Default.LoadReadOnlyTexture2D<Rgba32, Float4>(filename);
this.texture = GraphicsDevice.Default.LoadReadOnlyTexture2D<Rgba32, Float4>(filename);
}
Gpu.Default.ForEach(texture, new ContouredLayers((float)timespan.TotalSeconds, this.texture));
GraphicsDevice.Default.ForEach(texture, new ContouredLayers((float)timespan.TotalSeconds, this.texture));
}
}