MCPcopy Create free account
hub / github.com/crownengine/crown / mesh_material

Method mesh_material

src/world/render_world.cpp:311–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311Material *RenderWorld::mesh_material(MeshId mesh)
312{
313 const u32 mesh_i = _mesh_manager.index(mesh);
314 return _mesh_manager._data.material[mesh_i];
315}
316
317void RenderWorld::mesh_set_material(MeshId mesh, StringId64 id)
318{

Callers 1

load_apiFunction · 0.80

Calls 1

indexMethod · 0.45

Tested by

no test coverage detected