Skip to main content

merge_parameters

Function merge_parameters 

Source
pub fn merge_parameters(common: &Parameters, own: &Parameters) -> Parameters
Expand description

A variant’s parameters from the pass’s common ones and its own blob: the buffers by name (fields and structs of both, the blob’s taking precedence; the larger size; the blob’s slot, else the common one), then the textures and samplers of both.