MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / FindLightControllerInfo

Method FindLightControllerInfo

Rtxpt/SampleGame/GameModel.cpp:143–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143std::string ModelType::FindLightControllerInfo( const std::string & nodeName )
144{
145 auto it = m_lightsInfos.find(nodeName);
146 if (it == m_lightsInfos.end())
147 return "";
148 else
149 return it->second;
150}
151
152ModelInstance::ModelInstance( const std::string & name, const std::shared_ptr<ModelType> & modelType, const std::shared_ptr<donut::engine::SceneGraphNode> & parentNode )
153 : m_modelType(modelType)

Callers 1

MapLightControllersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected