rename "ubo_camera_matrix" to "ubo_camera_info"

This commit is contained in:
2021-05-13 17:34:40 +08:00
parent 199cc5f6b1
commit b409f1663e
15 changed files with 71 additions and 71 deletions

View File

@@ -51,21 +51,21 @@ public:
Renderable(const uint32_t dc=0):draw_count(dc){}
virtual ~Renderable()=default;
const uint GetRefCount()const{return ref_count;}
const uint GetRefCount()const{return ref_count;}
void SetBoundingBox(const AABB &aabb){BoundingBox=aabb;}
const AABB &GetBoundingBox()const {return BoundingBox;}
void SetBoundingBox(const AABB &aabb){BoundingBox=aabb;}
const AABB &GetBoundingBox()const {return BoundingBox;}
bool Set(const UTF8String &name,VAB *vb,VkDeviceSize offset=0);
bool Set(const UTF8String &name,VAB *vb,VkDeviceSize offset=0);
bool Set(IndexBuffer *ib,VkDeviceSize offset=0)
{
if(!ib)return(false);
bool Set(IndexBuffer *ib,VkDeviceSize offset=0)
{
if(!ib)return(false);
indices_buffer=ib;
indices_offset=offset;
return(true);
}
indices_buffer=ib;
indices_offset=offset;
return(true);
}
public: