------------------------------------------------------------------------------
| 779 | |
| 780 | //------------------------------------------------------------------------------ |
| 781 | unsigned int vtkTextureObject::GetFormat(int vtktype, int numComps, bool shaderSupportsTextureInt) |
| 782 | { |
| 783 | if (!this->Format) |
| 784 | { |
| 785 | this->Format = this->GetDefaultFormat(vtktype, numComps, shaderSupportsTextureInt); |
| 786 | } |
| 787 | return this->Format; |
| 788 | } |
| 789 | |
| 790 | //------------------------------------------------------------------------------ |
| 791 | unsigned int vtkTextureObject::GetDefaultFormat( |
no test coverage detected