Click or drag to resize

EncoderSetUniform Method (Uniform, IntPtr, Int32)

Sets the value of a uniform parameter.

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

Parameters

uniform
Type: Internal.SharpBgfxUniform
The uniform to set.
value
Type: SystemIntPtr
A pointer to the uniform's data.
arraySize (Optional)
Type: SystemInt32
The size of the data array, if the uniform is an array.
See Also