|
EffectsManagerGetPixelShader Method |
GetPixelShader returns a SharedDXResourceWrapper with PixelShader specified by the pixelShaderResourceName.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax 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
SharedDXResourceWrapperPixelShaderSharedDXResourceWrapper with PixelShader
See Also