EffectInstance.MatchesFormat
Description:
Tests whether the effect instance is appropriate for the given vertex format.
Tests whether the effect instance is appropriate for the given vertex format.
Remarks:
The vertex format may define vertex data that are not used by the effect instance. However, the effect instance can not reference vertex data that do not exist in the vertex format.
The vertex format may define vertex data that are not used by the effect instance. However, the effect instance can not reference vertex data that do not exist in the vertex format.
public bool MatchesFormat(
VertexFormat vertexFormat
)
-
vertexFormatA vertex format.
-
A non-optional argument was null