In WPF, when defining ShaderEffects, we use
ShaderEffect.RegisterPixelShaderSamplerProperty()
to introduce pixel shader sampler properties (the ones that are fed to the actual pixel shader, and are of type Brush); but how can these properties be retrieved from a ShaderEffect class?