------------------------------------------------------------------------------
| 446 | |
| 447 | //------------------------------------------------------------------------------ |
| 448 | void 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 | //------------------------------------------------------------------------------ |
| 463 | bool vtkTextureObject::IsBound() |
no test coverage detected