 | MaterialRemove Method |
Removes the effect binding for the specified render pass from the material.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntaxpublic bool Remove(
string pass
)
Public Function Remove (
pass As String
) As Boolean
public:
virtual bool Remove(
String^ pass
) sealed
abstract Remove :
pass : string -> bool
override Remove :
pass : string -> bool
Parameters
- pass
- Type: SystemString
The render pass.
Return Value
Type:
Boolean if effect binding was successfully removed from the material;
otherwise,
. This method also returns
if
pass is not found in the original material.
Implements
IDictionaryTKey, TValueRemove(TKey)
Exceptions
See Also