Language

ShaderEffect.RegisterPixelShaderSamplerProperty メソッド

定義

依存関係プロパティをシェーダー サンプラー レジスタに関連付けます。

オーバーロード

Name 説明
RegisterPixelShaderSamplerProperty(String, Type, Int32)

依存関係プロパティをシェーダー サンプラー レジスタに関連付けます。

RegisterPixelShaderSamplerProperty(String, Type, Int32, SamplingMode)

依存関係プロパティをシェーダー サンプラー レジスタと SamplingModeに関連付けます。

RegisterPixelShaderSamplerProperty(String, Type, Int32)

依存関係プロパティをシェーダー サンプラー レジスタに関連付けます。

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

パラメーター

dpName
String

依存関係プロパティの名前。

ownerType
Type

依存関係プロパティを持つ効果の型。

samplerRegisterIndex
Int32

依存関係プロパティに関連付けられているシェーダー サンプラーのインデックス。

戻り値

samplerRegisterIndexによって指定されたシェーダー サンプラーに関連付けられている依存関係プロパティ。

関連項目

適用対象

RegisterPixelShaderSamplerProperty(String, Type, Int32, SamplingMode)

依存関係プロパティをシェーダー サンプラー レジスタと 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

パラメーター

dpName
String

依存関係プロパティの名前。

ownerType
Type

依存関係プロパティを持つ効果の型。

samplerRegisterIndex
Int32

依存関係プロパティに関連付けられているシェーダー サンプラーのインデックス。

samplingMode
SamplingMode

シェーダー サンプラーの SamplingMode 。

戻り値

samplerRegisterIndexによって指定されたシェーダー サンプラーに関連付けられている依存関係プロパティ。

関連項目

適用対象