Type Alias ShaderModuleDescriptorPassthrough

Source
pub type ShaderModuleDescriptorPassthrough<'a> = CreateShaderModuleDescriptorPassthrough<'a, Label<'a>>;

Aliased Type§

pub enum ShaderModuleDescriptorPassthrough<'a> {
    SpirV(ShaderModuleDescriptorSpirV<'a, Option<Cow<'a, str>>>),
    Msl(ShaderModuleDescriptorMsl<'a, Option<Cow<'a, str>>>),
}

Variants§

§

SpirV(ShaderModuleDescriptorSpirV<'a, Option<Cow<'a, str>>>)

Passthrough for SPIR-V binaries.

§

Msl(ShaderModuleDescriptorMsl<'a, Option<Cow<'a, str>>>)

Passthrough for MSL source code.