MCPcopy Create free account
hub / github.com/Kitware/VTK / GetTexture

Method GetTexture

Rendering/Core/vtkProperty.cxx:344–353  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

342
343//------------------------------------------------------------------------------
344vtkTexture* vtkProperty::GetTexture(const char* name)
345{
346 auto iter = this->Textures.find(std::string(name));
347 if (iter == this->Textures.end())
348 {
349 return nullptr;
350 }
351
352 return iter->second;
353}
354
355//------------------------------------------------------------------------------
356int vtkProperty::GetNumberOfTextures()

Callers 15

GetTexturesMethod · 0.45
RenderMethod · 0.45
RenderTexturedPolygonMethod · 0.45
RenderPolygonMethod · 0.45
GetTexturesMethod · 0.45
DrawPixelsMethod · 0.45
TryLoadGLTFModelFunction · 0.45
RequestDataMethod · 0.45
ToJsonMethod · 0.45
RenderMethod · 0.45

Calls 3

stringClass · 0.50
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected