pub trait ShaderSize: ShaderType {
    const SHADER_SIZE: NonZeroU64 = Self::METADATA.min_size().0;
}
Expand description

Trait implemented for all WGSL fixed-footprint types

Provided Associated Constants§

Represents WGSL Size (equivalent to ShaderType::min_size)

Implementations on Foreign Types§

Implementors§