![]() |
![]() |
![]() |
Device.PixelShader Property |
Language: |
Retrieves or sets the current pixel shader.
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);
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.
Exceptions
InvalidCallException Occurs if the method call is invalid. For example, a parameter might contain an invalid value.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center