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