You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I add a new entity, the call to render will not come out, and it will only appear after the mouse rotates the perspective. How can I force them to refresh through the API?
```
RenderableManager::Builder(1)
.boundingBox(kitMesh->m_box)
.material(0, materialInstance)
.geometry(0, RenderableManager::PrimitiveType::TRIANGLES, kitMesh->m_vertexBuffer, kitMesh->m_indexBuffer, 0, m_indices.size()) //623
.culling(false)
.fog(false)
.build(*m_engine, kitMesh->m_entity);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
After I add a new entity, the call to render will not come out, and it will only appear after the mouse rotates the perspective. How can I force them to refresh through the API?
```
RenderableManager::Builder(1)
.boundingBox(kitMesh->m_box)
.material(0, materialInstance)
.geometry(0, RenderableManager::PrimitiveType::TRIANGLES, kitMesh->m_vertexBuffer, kitMesh->m_indexBuffer, 0, m_indices.size()) //623
.culling(false)
.fog(false)
.build(*m_engine, kitMesh->m_entity);
Beta Was this translation helpful? Give feedback.
All reactions