PixelShaderEffect Properties |
The PixelShaderEffect type exposes the following members.
Name | Description | |
---|---|---|
BufferPrecision | Specifies what precision to use for intermediate buffers when drawing this effect. | |
CacheOutput | Enables caching the output from drawing this effect. | |
MaxSamplerOffset |
Describes the maximum offset the shader will add to or subtract from a texture
coordinate when sampling from an input that uses Offset coordinate mapping mode.
| |
Name | Attaches a user-defined name string to the effect. | |
Properties |
Collection of properties configures the constant buffer that will be passed to the custom pixel shader.
| |
Source1 | Gets or sets the first input source for the custom pixel shader. | |
Source1BorderMode | Sets the border mode used when sampling the first input texture. | |
Source1Interpolation | Sets the interpolation mode used when sampling the first input texture. | |
Source1Mapping | Describes what texture coordinates the shader will use when sampling its first input texture. | |
Source2 | Gets or sets the second input source for the custom pixel shader. | |
Source2BorderMode | Sets the border mode used when sampling the second input texture. | |
Source2Interpolation | Sets the interpolation mode used when sampling the second input texture. | |
Source2Mapping | Describes what texture coordinates the shader will use when sampling its second input texture. | |
Source3 | Gets or sets the third input source for the custom pixel shader. | |
Source3BorderMode | Sets the border mode used when sampling the third input texture. | |
Source3Interpolation | Sets the interpolation mode used when sampling the third input texture. | |
Source3Mapping | Describes what texture coordinates the shader will use when sampling its third input texture. | |
Source4 | Gets or sets the fourth input source for the custom pixel shader. | |
Source4BorderMode | Sets the border mode used when sampling the fourth input texture. | |
Source4Interpolation | Sets the interpolation mode used when sampling the fourth input texture. | |
Source4Mapping | Describes what texture coordinates the shader will use when sampling its fourth input texture. | |
Source5 | Gets or sets the fifth input source for the custom pixel shader. | |
Source5BorderMode | Sets the border mode used when sampling the fifth input texture. | |
Source5Interpolation | Sets the interpolation mode used when sampling the fifth input texture. | |
Source5Mapping | Describes what texture coordinates the shader will use when sampling its fifth input texture. | |
Source6 | Gets or sets the sixth input source for the custom pixel shader. | |
Source6BorderMode | Sets the border mode used when sampling the sixth input texture. | |
Source6Interpolation | Sets the interpolation mode used when sampling the sixth input texture. | |
Source6Mapping | Describes what texture coordinates the shader will use when sampling its sixth input texture. | |
Source7 | Gets or sets the seventh input source for the custom pixel shader. | |
Source7BorderMode | Sets the border mode used when sampling the seventh input texture. | |
Source7Interpolation | Sets the interpolation mode used when sampling the seventh input texture. | |
Source7Mapping | Describes what texture coordinates the shader will use when sampling its seventh input texture. | |
Source8 | Gets or sets the eighth input source for the custom pixel shader. | |
Source8BorderMode | Sets the border mode used when sampling the eighth input texture. | |
Source8Interpolation | Sets the interpolation mode used when sampling the eighth input texture. | |
Source8Mapping | Describes what texture coordinates the shader will use when sampling its eighth input texture. |