Device.PixelShader Property

Language:

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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center