MCPcopy Create free account
hub / github.com/comaps/comaps / SetTexture

Method SetTexture

libs/drape/render_state.cpp:94–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void RenderState::SetTexture(std::string const & name, ref_ptr<Texture> tex)
95{
96 m_textures[name] = std::move(tex);
97}
98
99ref_ptr<Texture> RenderState::GetTexture(std::string const & name) const
100{

Callers 5

SetParamsMethod · 0.45
SetParamsMethod · 0.45
SetParamsMethod · 0.45
SetParamsMethod · 0.45
SetParamsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected