ShaderEffect.RegisterPixelShaderSamplerProperty 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
종속성 속성과 셰이더 샘플러 레지스터를 연결합니다.
오버로드
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
로 지정된 셰이더 샘플러에 연결된 종속성 속성입니다.