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