BgfxSetUniform(Uniform, IntPtr, Int32) Method |
Sets the value of a uniform parameter.
Namespace: Internal.SharpBgfxAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static void SetUniform(
Uniform uniform,
IntPtr value,
int arraySize = 1
)
Parameters
- uniform Uniform
- The uniform to set.
- value IntPtr
- A pointer to the uniform's data.
- arraySize Int32 (Optional)
- The size of the data array, if the uniform is an array.
See Also