MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenShadingLanguage / name_transform

Method name_transform

src/testrender/simplerend.cpp:213–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212
213void
214SimpleRenderer::name_transform (const char *name, const OSL::Matrix44 &xform)
215{
216 std::shared_ptr<Transformation> M (new OSL::Matrix44 (xform));
217 m_named_xforms[ustring(name)] = M;
218}
219
220
221

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected