Synced
RenderCommandEncoder.SetUniform
Section titled “RenderCommandEncoder.SetUniform”
- Sets the byte value of a shader uniform.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”public abstract void Inno.Rendering.RenderCommandEncoder.SetUniform(Inno.Rendering.RenderBindingId binding, System.ReadOnlySpan<byte> value)Parameters
Section titled “Parameters”Parameter binding: Stable shader binding declared by the selected pipeline.
Parameter value: Bytes borrowed for this call. An encoder that defers execution must copy them before returning.