Texture unit.
Program sampler.
Texture handle.
Texture sampling mode. Default value UINT32_MAX uses texture sampling settings from the texture. - BGFX_SAMPLER_[U/V/W]_[MIRROR/CLAMP] - Mirror or clamp to edge wrap mode. - BGFX_SAMPLER_[MIN/MAG/MIP]_[POINT/ANISOTROPIC] - Point or anisotropic sampling.
Set texture stage for draw primitive.