Function bgfx_rs::static_lib::set_texture
source · [−]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.