Used to begin defining a custom vertex declaration for a GeoInst's instance stream (vertex buffer). This allows for contol over the data that available when drawing each instance; Ex: each instance could contain custom color values. The bWorldMat flag is used to include/omit the plugin's automatic world matrix handling from the custom declaration. If bWorldMat is set to false, the plugin will not generate per-instance world matrices and the Position/Rotation/Scale commands should not be used.
Parameters
pGeoInst
INTEGER
Pointer to the GeoInst being setup
bWorldMat
BOOLEAN
True if the GeoInst's instance stream should contain world matrix data.