Skip to main content

expand

Function expand 

Source
pub fn expand<C: CubePrimitive>(
    scope: &Scope,
    list: &mut <[C] as CubeType>::ExpandType,
    index: <usize as CubeType>::ExpandType,
    value: <C as CubeType>::ExpandType,
)
Expand description

Writes the value only if it is in bounds of the buffer