public async override Task Load(ResourcePool pool, CancellationToken token) { buffer = await pool.GetBuffer(); var loader = new SpriteLoader(BufferUsageHint.DynamicDraw, buffer); tileSet.LoadTileMap(loader, mapIndices, depth); sprites = loader.Load(); }