------------------------------------------------------------------------------
| 156 | |
| 157 | //------------------------------------------------------------------------------ |
| 158 | int vtkGenericVertexAttributeMapping::GetTextureUnit(unsigned int index) |
| 159 | { |
| 160 | if (index >= this->Internal->Mappings.size()) |
| 161 | { |
| 162 | vtkErrorMacro("Invalid index " << index); |
| 163 | return 0; |
| 164 | } |
| 165 | return this->Internal->Mappings[index].TextureUnit; |
| 166 | } |
| 167 | |
| 168 | //------------------------------------------------------------------------------ |
| 169 | void vtkGenericVertexAttributeMapping::PrintSelf(ostream& os, vtkIndent indent) |
no test coverage detected