Click or drag to resize
DigitalRuneMaterialTryGet Method
Gets the effect binding for the specified render pass

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public bool TryGet(
	string pass,
	out EffectBinding effectBinding
)

Parameters

pass
Type: SystemString
The render pass.
effectBinding
Type: DigitalRune.Graphics.EffectsEffectBinding
When this method returns, the effect binding for the specified render pass; otherwise, the if the render pass is not supported by the material. This parameter is passed uninitialized.

Return Value

Type: Boolean
if the material supports the specified render pass; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullExceptionpass is .
See Also