Trait bevy_render::render_resource::encase::ShaderSize
source · pub trait ShaderSize: ShaderType {
const SHADER_SIZE: NonZero<u64> = _;
}
Expand description
Trait implemented for all WGSL fixed-footprint types
Provided Associated Constants§
sourceconst SHADER_SIZE: NonZero<u64> = _
const SHADER_SIZE: NonZero<u64> = _
Represents WGSL Size (equivalent to ShaderType::min_size
)
Object Safety§
This trait is not object safe.