pub fn set_texture(stage: u8, sampler: &Uniform, handle: &Texture, flags: u32)
Expand description
  • stage: Texture unit.
  • sampler: Program sampler.
  • handle: Texture handle.
  • flags: Texture sampling mode. Default value UINT32_MAX uses texture sampling settings from the texture.
    • [SamplerFlags::[U/V/W]_[MIRROR/CLAMP]] - Mirror or clamp to edge wrap mode.
    • [SamplerFlags::[MIN/MAG/MIP]_[POINT/ANISOTROPIC]] - Point or anisotropic sampling.