BgfxSetUniform Method (Uniform, Void, 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 public static void SetUniform(
Uniform uniform,
void* value,
int arraySize = 1
)
Parameters
- uniform
- Type: Internal.SharpBgfxUniform
The uniform to set. - value
- Type: SystemVoid*
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