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

Method GetTextureUnit

Rendering/OpenGL2/vtkTextureObject.cxx:377–384  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

375
376//------------------------------------------------------------------------------
377int vtkTextureObject::GetTextureUnit()
378{
379 if (this->Context)
380 {
381 return this->Context->GetTextureUnitForTexture(this);
382 }
383 return -1;
384}
385
386//------------------------------------------------------------------------------
387void vtkTextureObject::Activate()

Callers 1

CopyToFrameBufferMethod · 0.95

Calls 1

Tested by

no test coverage detected