Share via


ShaderEffect.RegisterPixelShaderSamplerProperty Méthode

Définition

Associe une propriété de dépendance à un registre d'échantillonneur de nuanceur.

Surcharges

RegisterPixelShaderSamplerProperty(String, Type, Int32)

Associe une propriété de dépendance à un registre d'échantillonneur de nuanceur.

RegisterPixelShaderSamplerProperty(String, Type, Int32, SamplingMode)

Associe une propriété de dépendance à un registre d'échantillonneur de nuanceur et un SamplingMode.

RegisterPixelShaderSamplerProperty(String, Type, Int32)

Associe une propriété de dépendance à un registre d'échantillonneur de nuanceur.

protected:
 static System::Windows::DependencyProperty ^ RegisterPixelShaderSamplerProperty(System::String ^ dpName, Type ^ ownerType, int samplerRegisterIndex);
protected static System.Windows.DependencyProperty RegisterPixelShaderSamplerProperty (string dpName, Type ownerType, int samplerRegisterIndex);
static member RegisterPixelShaderSamplerProperty : string * Type * int -> System.Windows.DependencyProperty
Protected Shared Function RegisterPixelShaderSamplerProperty (dpName As String, ownerType As Type, samplerRegisterIndex As Integer) As DependencyProperty

Paramètres

dpName
String

Nom de la propriété de dépendance.

ownerType
Type

Type de l'effet associé à la propriété de dépendance.

samplerRegisterIndex
Int32

Index de l'échantillonneur de nuanceur associé à la propriété de dépendance.

Retours

Propriété de dépendance associée à l'échantillonneur de nuanceur spécifié par samplerRegisterIndex.

Voir aussi

S’applique à

RegisterPixelShaderSamplerProperty(String, Type, Int32, SamplingMode)

Associe une propriété de dépendance à un registre d'échantillonneur de nuanceur et un SamplingMode.

protected:
 static System::Windows::DependencyProperty ^ RegisterPixelShaderSamplerProperty(System::String ^ dpName, Type ^ ownerType, int samplerRegisterIndex, System::Windows::Media::Effects::SamplingMode samplingMode);
protected static System.Windows.DependencyProperty RegisterPixelShaderSamplerProperty (string dpName, Type ownerType, int samplerRegisterIndex, System.Windows.Media.Effects.SamplingMode samplingMode);
static member RegisterPixelShaderSamplerProperty : string * Type * int * System.Windows.Media.Effects.SamplingMode -> System.Windows.DependencyProperty
Protected Shared Function RegisterPixelShaderSamplerProperty (dpName As String, ownerType As Type, samplerRegisterIndex As Integer, samplingMode As SamplingMode) As DependencyProperty

Paramètres

dpName
String

Nom de la propriété de dépendance.

ownerType
Type

Type de l'effet associé à la propriété de dépendance.

samplerRegisterIndex
Int32

Index de l'échantillonneur de nuanceur associé à la propriété de dépendance.

samplingMode
SamplingMode

SamplingMode pour l'échantillonneur de nuanceur.

Retours

Propriété de dépendance associée à l'échantillonneur de nuanceur spécifié par samplerRegisterIndex.

Voir aussi

S’applique à