Sdílet prostřednictvím


ShaderEffect.RegisterPixelShaderSamplerProperty Metoda

Definice

Přidruží vlastnost závislosti k registru sampleru shaderu.

Přetížení

RegisterPixelShaderSamplerProperty(String, Type, Int32)

Přidruží vlastnost závislosti k registru sampleru shaderu.

RegisterPixelShaderSamplerProperty(String, Type, Int32, SamplingMode)

Přidruží vlastnost závislosti k registru sampler shaderu a SamplingMode.

RegisterPixelShaderSamplerProperty(String, Type, Int32)

Přidruží vlastnost závislosti k registru sampleru shaderu.

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

Parametry

dpName
String

Název vlastnosti závislosti.

ownerType
Type

Typ efektu, který má vlastnost závislosti.

samplerRegisterIndex
Int32

Index sampleru shaderu přidruženého k vlastnosti závislosti.

Návraty

DependencyProperty

Vlastnost závislosti přidružená k sampleru shaderu určenému uživatelem samplerRegisterIndex.

Viz také

Platí pro

RegisterPixelShaderSamplerProperty(String, Type, Int32, SamplingMode)

Přidruží vlastnost závislosti k registru sampler shaderu a 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

Parametry

dpName
String

Název vlastnosti závislosti.

ownerType
Type

Typ efektu, který má vlastnost závislosti.

samplerRegisterIndex
Int32

Index sampleru shaderu přidruženého k vlastnosti závislosti.

samplingMode
SamplingMode

Ukázka SamplingMode shaderu

Návraty

DependencyProperty

Vlastnost závislosti přidružená k sampleru shaderu určenému uživatelem samplerRegisterIndex.

Viz také

Platí pro