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

Method vtkglActiveTexture

Rendering/OpenGL2/vtkOpenGLState.cxx:907–920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905}
906
907void vtkOpenGLState::vtkglActiveTexture(unsigned int val)
908{
909 vtkOpenGLCheckStateMacro();
910 auto& cs = this->Stack.top();
911
912#ifndef NO_CACHE
913 if (cs.ActiveTexture != val)
914#endif
915 {
916 cs.ActiveTexture = val;
917 ::glActiveTexture(val);
918 }
919 vtkCheckOpenGLErrorsWithStack("glActiveTexture");
920}
921
922void vtkOpenGLState::Viewport(std::array<GLint, 4> val)
923{

Callers 2

ActivateTextureMethod · 0.95
DrawImageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected