| 415 | } |
| 416 | |
| 417 | std::string GpuShaderText::intDecl(const std::string & name) const |
| 418 | { |
| 419 | if (name.empty()) |
| 420 | { |
| 421 | throw Exception("GPU variable name is empty."); |
| 422 | } |
| 423 | |
| 424 | return intKeyword() + " " + name; |
| 425 | } |
| 426 | |
| 427 | std::string GpuShaderText::colorDecl(const std::string & name) const |
| 428 | { |
no test coverage detected