MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / set_attribute

Method set_attribute

framework/scene_graph/components/sub_mesh.cpp:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void SubMesh::set_attribute(const std::string &attribute_name, const VertexAttribute &attribute)
62{
63 vertex_attributes[attribute_name] = attribute;
64}
65
66bool SubMesh::get_attribute(const std::string &attribute_name, VertexAttribute &attribute) const
67{

Callers 1

load_sceneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected