(mut self, extension: impl Into<String>)
| 358 | /// done via `#[cfg(target_feature = "ext:the_extension")]`. |
| 359 | #[must_use] |
| 360 | pub fn extension(mut self, extension: impl Into<String>) -> Self { |
| 361 | self.extensions.push(extension.into()); |
| 362 | self |
| 363 | } |
| 364 | |
| 365 | /// Change the shader `panic!` handling strategy (see [`ShaderPanicStrategy`]). |
| 366 | #[must_use] |