Tests whether the effect instance is appropriate for the given vertex format.
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public bool MatchesFormat( VertexFormat vertexFormat )
Parameters
- vertexFormat VertexFormat
- A vertex format.
Return Value
BooleanTrue if the effect instance is valid for use with the specified vertex format.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |