Move dx interface into graphics module.
This commit is contained in:
parent
672b31b603
commit
4bb87de0e6
23 changed files with 130 additions and 64 deletions
|
@ -18,10 +18,8 @@ Scene::~Scene()
|
|||
|
||||
}
|
||||
|
||||
void Scene::update(FontsManager* fontsManager)
|
||||
void Scene::update()
|
||||
{
|
||||
mSceneInfo->mFontsManager = fontsManager;
|
||||
|
||||
mSceneItems.clear();
|
||||
updateNode(mRootNode.get());
|
||||
}
|
||||
|
@ -71,3 +69,13 @@ void Scene::setShowMeshOutline(bool shouldShow)
|
|||
{
|
||||
mSceneInfo->mShowMeshOutline = shouldShow;
|
||||
}
|
||||
|
||||
void Scene::setSupportsGeometryPrimitives(bool supports)
|
||||
{
|
||||
mSceneInfo->mSupportsGeometryPrimitives = true;
|
||||
}
|
||||
|
||||
void Scene::setFontsManager(FontsManager* fontsManager)
|
||||
{
|
||||
mSceneInfo->mFontsManager = fontsManager;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue