ShaderEffect::RegisterPixelShaderSamplerProperty Method (String^, Type^, Int32, SamplingMode)
.NET Framework (current version)
Associates a dependency property with a shader sampler register and a SamplingMode.
Assembly: PresentationCore (in PresentationCore.dll)
protected: static DependencyProperty^ RegisterPixelShaderSamplerProperty( String^ dpName, Type^ ownerType, int samplerRegisterIndex, SamplingMode samplingMode )
Parameters
- dpName
-
Type:
System::String^
The name of the dependency property.
- ownerType
-
Type:
System::Type^
The type of the effect that has the dependency property.
- samplerRegisterIndex
-
Type:
System::Int32
The index of the shader sampler associated with the dependency property.
- samplingMode
-
Type:
System.Windows.Media.Effects::SamplingMode
The SamplingMode for the shader sampler.
Return Value
Type: System.Windows::DependencyProperty^A dependency property associated with the shader sampler specified by samplerRegisterIndex.
.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Available since 3.0
Silverlight
Available since 3.0
Show: