PixelShader.PixelShader Constructor ()

Initializes a new instance of the PixelShader class.

Overload List

public PixelShader(Device, GraphicsStream);
public PixelShader(Device, int[]);
public PixelShader(IDirect3DPixelShader9);
public PixelShader(IDirect3DPixelShader9, Device);
public PixelShader(IntPtr);

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfVideoMemoryException

Microsoft Direct3D does not have enough display memory to perform the operation.

OutOfMemoryExceptionLeave Site

Direct3D could not allocate sufficient memory to complete the call.