pub fn 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 the ‘image’. This is equivalent to Image::to_shader
.