Skip to main content

buffer_target

Function buffer_target 

Source
pub fn buffer_target(decl: &BindingDecl) -> Option<(&'static str, bool)>
Expand description

Returns the buffer label that decl refers to, and whether the pass writes it.

Returns None for a reserved name, which the engine resolves without consulting the model’s buffers.