Click or drag to resize
AB4D logo

ContextStatesManagerSetPixelShader Method

Sets the pixel shader if it is different as previously set pixel shader. The same as setter for PixelShader property but this method returns true if pixel shader was changed.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public bool SetPixelShader(
	PixelShader newPixelShader
)

Parameters

newPixelShader  PixelShader
new PixelShader

Return Value

Boolean
true if PixelShader was changed
See Also