 | Material.Contains Method |
Determines whether the material contains an 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 Contains(
string pass
)
Public Function Contains (
pass As String
) As Boolean
public:
bool Contains(
String^ pass
)
member Contains :
pass : string -> bool
Parameters
- pass
- Type: System.String
The render pass.
Return Value
Type:
Booleantrue if the material contains an effect binding for the specified render
pass; otherwise,
false.
Exceptions
See Also