------------------------------------------------------------------------------
| 145 | |
| 146 | //------------------------------------------------------------------------------ |
| 147 | int vtkGenericVertexAttributeMapping::GetComponent(unsigned int index) |
| 148 | { |
| 149 | if (index >= this->Internal->Mappings.size()) |
| 150 | { |
| 151 | vtkErrorMacro("Invalid index " << index); |
| 152 | return 0; |
| 153 | } |
| 154 | return this->Internal->Mappings[index].Component; |
| 155 | } |
| 156 | |
| 157 | //------------------------------------------------------------------------------ |
| 158 | int vtkGenericVertexAttributeMapping::GetTextureUnit(unsigned int index) |