Defines a new effect technique. Source location matching this definition (for debugging). Description of the technique.
| 110 | /// <param name="loc">Source location matching this definition (for debugging).</param> |
| 111 | /// <param name="info">Description of the technique.</param> |
| 112 | void define_technique(technique &&info) { _module.techniques.push_back(std::move(info)); } |
| 113 | /// <summary> |
| 114 | /// Makes a function a shader entry point. |
| 115 | /// </summary> |