Click or drag to resize

BgfxSetTexture(Byte, Uniform, Texture, TextureFlags) Method

Sets a texture to use for drawing primitives.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void SetTexture(
	byte textureUnit,
	Uniform sampler,
	Texture texture,
	TextureFlags flags
)

Parameters

textureUnit  Byte
The texture unit to set.
sampler  Uniform
The sampler uniform.
texture  Texture
The texture to set.
flags  TextureFlags
Sampling flags that override the default flags in the texture itself.
See Also