renamed to Renderable from RenderableInstance, renamed to PrimitiveCreater from RenderableCreater

This commit is contained in:
2022-06-24 21:06:38 +08:00
parent 43c60c16e2
commit d8d8d97abd
46 changed files with 178 additions and 178 deletions

View File

@@ -36,7 +36,7 @@ private:
Camera cam;
MaterialInstance * material_instance =nullptr;
RenderableInstance *render_instance =nullptr;
Renderable *render_instance =nullptr;
GPUBuffer * ubo_camera_info =nullptr;
GPUBuffer * ubo_rb_config =nullptr;
@@ -134,7 +134,7 @@ private:
if(!primitive->Set(VAN::Position, db->CreateVBO(VF_V4I16,VERTEX_COUNT,position_data)))return(false);
render_instance=db->CreateRenderableInstance(primitive,material_instance,pipeline);
render_instance=db->CreateRenderable(primitive,material_instance,pipeline);
return(true);
}