Device.PixelShader Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the current pixel shader.

Definition

Visual Basic Public Property PixelShader As PixelShader
C# public PixelShader PixelShader { get; set; }
C++ public:
property PixelShader^ PixelShader {
        PixelShader^ get();
        void set(PixelShadervalue);
}
JScript public function get PixelShader() : PixelShader
public function set PixelShader(PixelShader);

Property Value

Microsoft.DirectX.Direct3D.PixelShader
A PixelShader object that represents the current pixel shader or a pixel shader object to set.

This property is read/write. 

Remarks

Exceptions

InvalidCallException

Occurs if the method call is invalid. For example, a parameter might contain an invalid value.