Click or drag to resize
AB4D logo

EffectsManagerGetPixelShader Method

GetPixelShader returns a SharedDXResourceWrapper with PixelShader specified by the pixelShaderResourceName.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public virtual SharedDXResourceWrapper<PixelShader> GetPixelShader(
	string pixelShaderResourceName,
	bool throwExceptionIfNotFound = true
)

Parameters

pixelShaderResourceName  String
name of the resource
throwExceptionIfNotFound  Boolean  (Optional)
if true and exception is thrown if shader is not found; else null is returned

Return Value

SharedDXResourceWrapperPixelShader
SharedDXResourceWrapper with PixelShader
See Also