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

Method Bind

Rendering/OpenGL2/vtkTextureObject.cxx:448–460  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

446
447//------------------------------------------------------------------------------
448void vtkTextureObject::Bind()
449{
450 assert(this->Context);
451 assert(this->Handle);
452
453 glBindTexture(this->Target, this->Handle);
454 vtkOpenGLCheckErrorMacro("failed at glBindTexture");
455
456 if (this->AutoParameters && (this->GetMTime() > this->SendParametersTime))
457 {
458 this->SendParameters();
459 }
460}
461
462//------------------------------------------------------------------------------
463bool vtkTextureObject::IsBound()

Callers 15

ActivateMethod · 0.95
Create1DMethod · 0.95
Create1DFromRawMethod · 0.95
CreateTextureBufferMethod · 0.95
Create2DMethod · 0.95
CreateDepthMethod · 0.95
Create3DMethod · 0.95
DownloadMethod · 0.95
Create3DFromRawMethod · 0.95
Create2DFromRawMethod · 0.95
Create2DArrayFromRawMethod · 0.95

Calls 3

SendParametersMethod · 0.95
assertFunction · 0.50
GetMTimeMethod · 0.45

Tested by

no test coverage detected