The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ShaderEffect.RegisterPixelShaderSamplerProperty Method (String, Type, Int32)

Associates a dependency property with a shader sampler register.

Namespace:  System.Windows.Media.Effects
Assembly:  System.Windows (in System.Windows.dll)

protected static DependencyProperty RegisterPixelShaderSamplerProperty(
	string dpName,
	Type ownerType,
	int samplerRegisterIndex


Type: System.String
The name of the dependency property.
Type: System.Type
The type of the effect that has the dependency property.
Type: System.Int32
The index of the shader sampler associated with the dependency property.

Return Value

Type: System.Windows.DependencyProperty
A dependency property associated with the shader sampler specified by samplerRegisterIndex.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft