public RasterizerTask(GraphicsContext Context, Rasterizer Rasterizer, int Start, int Step) { Context_ = Context; Rasterizer_ = Rasterizer; Start_ = Start; Step_ = Step; Count_ = Context_.Vertices.Count; }
public Pipeline(GraphicsDevice Device) { Device_ = Device; Context_ = Device.GetContext(); Rasterizer_ = new Rasterizer[Context_.CoreNum]; for (var Index = 0; Index < Context_.CoreNum; ++Index) { Rasterizer_[Index] = new Rasterizer(Index, Context_); } }