ShaderEffect.RegisterPixelShaderSamplerProperty Method (String, Type, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Associates a dependency property with a shader sampler register.

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

static member RegisterPixelShaderSamplerProperty : 
        dpName:string *
        ownerType:Type *
        samplerRegisterIndex:int -> DependencyProperty

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.

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
Return to top
Show: