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

Method shader_panic_strategy

crates/spirv-builder/src/lib.rs:367–370  ·  view source on GitHub ↗
(mut self, shader_panic_strategy: ShaderPanicStrategy)

Source from the content-addressed store, hash-verified

365 /// Change the shader `panic!` handling strategy (see [`ShaderPanicStrategy`]).
366 #[must_use]
367 pub fn shader_panic_strategy(mut self, shader_panic_strategy: ShaderPanicStrategy) -> Self {
368 self.shader_panic_strategy = shader_panic_strategy;
369 self
370 }
371
372 /// Allow store from one struct type to a different type with compatible layout and members.
373 #[must_use]

Callers 2

compile_shadersFunction · 0.80
maybe_watchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected