renamed to Primitive from Renderable

This commit is contained in:
2022-06-24 17:51:05 +08:00
parent 1e0e74da2f
commit 0fca6b8fc4
54 changed files with 148 additions and 404 deletions

View File

@@ -32,7 +32,7 @@ private:
Sampler * sampler =nullptr;
Texture2D * texture =nullptr;
Renderable * ro_sphere =nullptr;
Primitive * ro_sphere =nullptr;
private:
@@ -74,7 +74,7 @@ private:
return(true);
}
SceneNode *Add(Renderable *r,MaterialInstance *mi,Pipeline *pl)
SceneNode *Add(Primitive *r,MaterialInstance *mi,Pipeline *pl)
{
auto ri=db->CreateRenderableInstance(r,mi,pl);