MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Load

Method Load

include/MaterialUnmanaged.hpp:33–37  ·  view source on GitHub ↗

* Load materials from model file. */

Source from the content-addressed store, hash-verified

31 * Load materials from model file.
32 */
33 static std::vector<MaterialUnmanaged> Load(const std::string& fileName) {
34 int count = 0;
35 ::Material* mats = ::LoadMaterials(fileName.c_str(), &count);
36 return std::vector<MaterialUnmanaged>(mats, mats + count);
37 }
38
39 GETTERSETTER(::Shader, Shader, shader)
40 GETTERSETTER(::MaterialMap*, Maps, maps)

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected