Class UpdateUniform
Represents an operator that updates the value of a uniform variable on the specified shader.
[Combinator]
[WorkflowElementCategory(ElementCategory.Sink)]
public class UpdateUniform
- Inheritance
-
UpdateUniform
- Inherited Members
Properties
- ShaderName
Gets or sets the name of the shader program.
- UniformName
Gets or sets the name of the uniform variable to update.
Methods
- Process(IObservable<TextureUnit>)
Updates a sampler 2D uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Matrix2>)
Updates a mat2 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Matrix3>)
Updates a mat3 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Matrix4>)
Updates a mat4 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Quaternion>)
Updates a vec4 uniform variable on the specified shader with the quaternion values from an observable sequence.
- Process(IObservable<Vector2>)
Updates a vec2 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Vector3>)
Updates a vec3 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Vector4>)
Updates a vec4 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<double>)
Updates a double-precision floating-point uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<int>)
Updates a 32-bit integer uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<float>)
Updates a single-precision floating-point uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Tuple<double, double, double, double>>)
Updates a dvec4 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Tuple<double, double, double>>)
Updates a dvec3 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Tuple<double, double>>)
Updates a dvec2 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Tuple<int, int, int, int>>)
Updates an ivec4 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Tuple<int, int, int>>)
Updates an ivec3 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Tuple<int, int>>)
Updates an ivec2 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Tuple<float, float, float, float>>)
Updates a vec4 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Tuple<float, float, float>>)
Updates a vec3 uniform variable on the specified shader with the values from an observable sequence.
- Process(IObservable<Tuple<float, float>>)
Updates a vec2 uniform variable on the specified shader with the values from an observable sequence.