layout VKRenderable.h
This commit is contained in:
parent
e4f7403412
commit
479f001d6c
@ -1,7 +1,6 @@
|
|||||||
#ifndef HGL_GRAPH_VULKAN_RENDERABLE_INCLUDE
|
#ifndef HGL_GRAPH_VULKAN_RENDERABLE_INCLUDE
|
||||||
#define HGL_GRAPH_VULKAN_RENDERABLE_INCLUDE
|
#define HGL_GRAPH_VULKAN_RENDERABLE_INCLUDE
|
||||||
|
|
||||||
#include<hgl/graph/VK.h>
|
|
||||||
#include<hgl/graph/VKIndexBuffer.h>
|
#include<hgl/graph/VKIndexBuffer.h>
|
||||||
#include<hgl/type/Map.h>
|
#include<hgl/type/Map.h>
|
||||||
#include<hgl/type/String.h>
|
#include<hgl/type/String.h>
|
||||||
@ -78,11 +77,11 @@ public:
|
|||||||
return draw_count;
|
return draw_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
VAB * GetVAB(const UTF8String &,VkDeviceSize *);
|
VAB * GetVAB (const UTF8String &,VkDeviceSize *);
|
||||||
VkBuffer GetBuffer(const UTF8String &,VkDeviceSize *);
|
VkBuffer GetBuffer (const UTF8String &,VkDeviceSize *);
|
||||||
const int GetBufferCount()const{return buffer_list.GetCount();}
|
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;}
|
const VkDeviceSize GetIndexBufferOffset()const {return indices_offset;}
|
||||||
};//class Renderable
|
};//class Renderable
|
||||||
VK_NAMESPACE_END
|
VK_NAMESPACE_END
|
||||||
|
Loading…
x
Reference in New Issue
Block a user