layout VKRenderable.h

This commit is contained in:
hyzboy 2021-05-31 17:53:16 +08:00
parent e4f7403412
commit 479f001d6c

View File

@ -1,7 +1,6 @@
#ifndef HGL_GRAPH_VULKAN_RENDERABLE_INCLUDE
#define HGL_GRAPH_VULKAN_RENDERABLE_INCLUDE
#include<hgl/graph/VK.h>
#include<hgl/graph/VKIndexBuffer.h>
#include<hgl/type/Map.h>
#include<hgl/type/String.h>
@ -78,11 +77,11 @@ public:
return draw_count;
}
VAB * GetVAB(const UTF8String &,VkDeviceSize *);
VkBuffer GetBuffer(const UTF8String &,VkDeviceSize *);
const int GetBufferCount()const{return buffer_list.GetCount();}
VAB * GetVAB (const UTF8String &,VkDeviceSize *);
VkBuffer GetBuffer (const UTF8String &,VkDeviceSize *);
const int GetBufferCount ()const {return buffer_list.GetCount();}
IndexBuffer * GetIndexBuffer() {return indices_buffer;}
IndexBuffer * GetIndexBuffer () {return indices_buffer;}
const VkDeviceSize GetIndexBufferOffset()const {return indices_offset;}
};//class Renderable
VK_NAMESPACE_END