Microsoft DirectX 9.0 SDK Update (October 2004)

Device.PixelShader Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets the current pixel shader.

Definition

Visual Basic .NET Public Property PixelShader As PixelShader
C# public PixelShader PixelShader { get; set; }
Managed C++ public: __property PixelShader* get_PixelShader();
public: __property void set_PixelShader(PixelShader*);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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