| 211 | } |
| 212 | |
| 213 | void GpuShaderCreator::addDynamicProperty(DynamicPropertyRcPtr & prop) |
| 214 | { |
| 215 | if (hasDynamicProperty(prop->getType())) |
| 216 | { |
| 217 | // Dynamic property is already there. |
| 218 | std::ostringstream oss; |
| 219 | oss << "Dynamic property already here: " << prop->getType() << "."; |
| 220 | throw Exception(oss.str().c_str()); |
| 221 | } |
| 222 | |
| 223 | getImpl()->m_dynamicProperties.push_back(prop); |
| 224 | } |
| 225 | |
| 226 | unsigned GpuShaderCreator::getNumDynamicProperties() const noexcept |
| 227 | { |
no test coverage detected