public static ModelPipeline RenderGeometry(this ModelPipeline pipeline, GeometrySystem geometrySystem) { var stage = new RenderGeometryStage(pipeline.Device, geometrySystem); pipeline.Add(stage); return(pipeline); }
public RenderGeometryStage(GraphicsDevice device, GeometrySystem geometrySystem) { this.Device = device; this.GeometrySystem = geometrySystem; }