pub fn raw_image<'a>(
image: impl Into<Image>,
tm: (TileMode, TileMode),
options: &SamplingOptions,
matrix: impl Into<Option<&'a Matrix>>,
) -> Option<Shader>
Expand description
Create an Shader
that will sample ‘image’ with minimal processing. This is equivalent to
Image::to_raw_shader
.