| MaterialInstanceTryGet Method |
Gets the effect parameter bindings for the specified render pass.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public bool TryGet(
string pass,
out EffectBinding bindings
)
Public Function TryGet (
pass As String,
<OutAttribute> ByRef bindings As EffectBinding
) As Boolean
public:
bool TryGet(
String^ pass,
[OutAttribute] EffectBinding^% bindings
)
member TryGet :
pass : string *
bindings : EffectBinding byref -> bool
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 See Also