updated codes of RenderNode2D/RenderList2D

This commit is contained in:
2023-05-04 22:01:00 +08:00
parent 30c736b7c8
commit 1e03e28f0b
7 changed files with 184 additions and 16 deletions

View File

@@ -38,9 +38,7 @@ namespace hgl
}
const VkFormat GetFormat ()const{return format;} ///<取得数据类型
// const uint32_t GetVecSize ()const{return vec_size;} ///<取数缓冲区元数据成份数量
const uint32_t GetCount ()const{return count;} ///<取得数据数量
// const uint32_t GetStride ()const{return stride;} ///<取得每一组数据字节数
void * GetData ()const{return mem_data;} ///<取得数据指针
const uint32_t GetTotalBytes ()const{return total_bytes;} ///<取得数据字节数
};//class VertexAttribData