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

Method GetTextureUnit

Rendering/VolumeOpenGL2/vtkOpenGLVolumeLookupTable.cxx:82–89  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

80
81//------------------------------------------------------------------------------
82int vtkOpenGLVolumeLookupTable::GetTextureUnit()
83{
84 if (!this->TextureObject)
85 {
86 return -1;
87 }
88 return this->TextureObject->GetTextureUnit();
89}
90
91//------------------------------------------------------------------------------
92void vtkOpenGLVolumeLookupTable::ReleaseGraphicsResources(vtkWindow* window)

Callers 11

RenderMethod · 0.45
RenderTextureInternalMethod · 0.45
EndImageSampleMethod · 0.45
RenderWithDepthPassMethod · 0.45
BindTransformationsMethod · 0.45
GetTextureUnitFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected