Class WebGPUShaderUniformBuilder
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.WebGPU.dll
Builds a set of named values for a WebGPUShaderUniformLayout.
public sealed class WebGPUShaderUniformBuilder
- Inheritance
-
WebGPUShaderUniformBuilder
- Inherited Members
Methods
SetFloat32(string, float)
Sets a named 32-bit floating-point value.
public void SetFloat32(string name, float value)
Parameters
SetFloat32Array(string, ReadOnlySpan<float>)
Sets a named fixed-size array of 32-bit floating-point values.
public void SetFloat32Array(string name, ReadOnlySpan<float> values)
Parameters
namestringThe declared member name.
valuesReadOnlySpan<float>The values to set.
SetInt32(string, int)
Sets a named signed 32-bit integer value.
public void SetInt32(string name, int value)
Parameters
SetInt32Array(string, ReadOnlySpan<int>)
Sets a named fixed-size array of signed 32-bit integer values.
public void SetInt32Array(string name, ReadOnlySpan<int> values)
Parameters
namestringThe declared member name.
valuesReadOnlySpan<int>The values to set.
SetMatrix4x4(string, Matrix4x4)
Sets a named four-by-four floating-point matrix.
public void SetMatrix4x4(string name, Matrix4x4 value)
Parameters
SetMatrix4x4Array(string, ReadOnlySpan<Matrix4x4>)
Sets a named fixed-size array of four-by-four floating-point matrices.
public void SetMatrix4x4Array(string name, ReadOnlySpan<Matrix4x4> values)
Parameters
namestringThe declared member name.
valuesReadOnlySpan<Matrix4x4>The values to set.
SetUInt32(string, uint)
Sets a named unsigned 32-bit integer value.
public void SetUInt32(string name, uint value)
Parameters
SetUInt32Array(string, ReadOnlySpan<uint>)
Sets a named fixed-size array of unsigned 32-bit integer values.
public void SetUInt32Array(string name, ReadOnlySpan<uint> values)
Parameters
namestringThe declared member name.
valuesReadOnlySpan<uint>The values to set.
SetVector2(string, Vector2)
Sets a named two-component floating-point vector.
public void SetVector2(string name, Vector2 value)
Parameters
SetVector2Array(string, ReadOnlySpan<Vector2>)
Sets a named fixed-size array of two-component floating-point vectors.
public void SetVector2Array(string name, ReadOnlySpan<Vector2> values)
Parameters
namestringThe declared member name.
valuesReadOnlySpan<Vector2>The values to set.
SetVector3(string, Vector3)
Sets a named three-component floating-point vector.
public void SetVector3(string name, Vector3 value)
Parameters
SetVector3Array(string, ReadOnlySpan<Vector3>)
Sets a named fixed-size array of three-component floating-point vectors.
public void SetVector3Array(string name, ReadOnlySpan<Vector3> values)
Parameters
namestringThe declared member name.
valuesReadOnlySpan<Vector3>The values to set.
SetVector4(string, Vector4)
Sets a named four-component floating-point vector.
public void SetVector4(string name, Vector4 value)
Parameters
SetVector4Array(string, ReadOnlySpan<Vector4>)
Sets a named fixed-size array of four-component floating-point vectors.
public void SetVector4Array(string name, ReadOnlySpan<Vector4> values)
Parameters
namestringThe declared member name.
valuesReadOnlySpan<Vector4>The values to set.