Skip to main content

call_ctor

Function call_ctor 

Source
pub fn call_ctor(
    ty: &Type,
    args: &[Instance],
    stage: ShaderStage,
) -> Result<Instance, Error>
Expand description

Call a constructor.

The arguments must be loaded.