MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / extension

Method extension

crates/spirv-builder/src/lib.rs:360–363  ·  view source on GitHub ↗
(mut self, extension: impl Into<String>)

Source from the content-addressed store, hash-verified

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]

Callers 2

find_libFunction · 0.80
add_extMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected