Skip to content

RenderEffectParameter structure

A named constant passed to the effect.

public struct RenderEffectParameter : IEquatable<RenderEffectParameter>
parameter description
Name Name the shader binds the constant under.
Type Type of the value.
Data Value bytes laid out for Type.
name description
RenderEffectParameter(…) A named constant passed to the effect.
Data { get; set; } Value bytes laid out for Type.
Name { get; set; } Name the shader binds the constant under.
Type { get; set; } Type of the value.