Trait spirv_std::image::SampleType
source · pub trait SampleType<const FORMAT: u32>: Scalar {
type Vec2: Default;
type Vec3: Default;
type Vec4: Default;
}Expand description
Marker trait for arguments that accept single scalar values or vectors of scalars. Defines 2-, 3- and 4-component vector types based on the sample type.