Click or drag to resize

BgfxSetUniform(Uniform, Single, Int32) Method

Sets the value of a uniform parameter.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void SetUniform(
	Uniform uniform,
	float value,
	int arraySize = 1
)

Parameters

uniform  Uniform
The uniform to set.
value  Single
A pointer to the uniform's data.
arraySize  Int32  (Optional)
The size of the data array, if the uniform is an array.
See Also