Skip to content

RenderEffectParameter constructor

A named constant passed to the effect.

public RenderEffectParameter(string Name, RenderEffectParameterType Type, ReadOnlyMemory<byte> Data)
parameter description
Name Name the shader binds the constant under.
Type Type of the value.
Data Value bytes laid out for Type.