Click or drag to resize
DigitalRuneMaterialInstanceTryGet Method
Gets the effect parameter bindings for the specified render pass.

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

Parameters

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

Return Value

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