From 2b218861e58c3a11144ad59f976a54f6ea73c01c Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sun, 21 Jun 2020 17:50:25 +0800 Subject: [PATCH] =?UTF-8?q?TileData=E8=BF=81=E7=A7=BB=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/hgl/graph/TileData.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/inc/hgl/graph/TileData.h b/inc/hgl/graph/TileData.h index 20d35fae..6ba7e980 100644 --- a/inc/hgl/graph/TileData.h +++ b/inc/hgl/graph/TileData.h @@ -15,6 +15,8 @@ namespace hgl */ class TileData ///Tile纹理管理 { + Device *device; + public: struct Object @@ -28,18 +30,22 @@ namespace hgl protected: + vulkan::Buffer *tile_buffer; ///