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

Function GetTextureUnit

Rendering/VolumeOpenGL2/vtkVolumeMask.h:272–279  ·  view source on GitHub ↗

Get the texture unit --------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

270 // Get the texture unit
271 //--------------------------------------------------------------------------
272 int GetTextureUnit()
273 {
274 if (!this->Texture)
275 {
276 return -1;
277 }
278 return this->Texture->GetTextureUnit();
279 }
280
281 //--------------------------------------------------------------------------
282 void ReleaseGraphicsResources(vtkWindow* window)

Callers

nothing calls this directly

Calls 1

GetTextureUnitMethod · 0.45

Tested by

no test coverage detected