Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the current pixel shader.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public PixelShader PixelShader { get; set; }
Property Value
The current pixel shader or a pixel shader object to set.
Exceptions
Exception type | Condition |
---|---|
ObjectDisposedException | PixelShader was called after this GraphicsDevice was disposed. |
See Also
Reference
GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista