pub trait ShaderCode {
    fn into_vec(self) -> Vec<u8>;
}
Expand description

Trait for types which can be converted into shader code.

Required Methods

Converts the instance into SPIR-V shader code specified as a byte array.

Implementations on Foreign Types

Implementors