| 52 | static MeshMaterial* getMeshRendererMaterialForAttribs(MeshVertexData* meshVertexData, bool usesLight); |
| 53 | |
| 54 | MeshRenderer* MeshRenderer::create() |
| 55 | { |
| 56 | auto mesh = new MeshRenderer(); |
| 57 | if (mesh->init()) |
| 58 | { |
| 59 | mesh->autorelease(); |
| 60 | return mesh; |
| 61 | } |
| 62 | AX_SAFE_DELETE(mesh); |
| 63 | return nullptr; |
| 64 | } |
| 65 | |
| 66 | MeshRenderer* MeshRenderer::create(std::string_view modelPath) |
| 67 | { |
nothing calls this directly
no test coverage detected