Click or drag to resize

BgfxSetTexture(Byte, Uniform, Texture) 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
)

Parameters

textureUnit  Byte
The texture unit to set.
sampler  Uniform
The sampler uniform.
texture  Texture
The texture to set.
See Also