|MAKE OBJECT NEW Object number, Vertex count, Index count|
MAKE OBJECT NEW Object number, Vertex count, Index count, FVF
MAKE OBJECT NEW Object number, Vertex count, Index count, FVF, Initialise buffers
|Create an object with the number of vertices and indices specified.
If the Index count is not 0, then it needs to be a multiple of 3, as 3 points are required for each polygon.
If the Index count is 0, then the Vertex count needs to be a multiple of 3 for the same reason.
The first form of this command will create an object using an FVF value of 274.
The third form of this command allows you to skip initialising the buffers with zeros by using an Initialise value of 0 - use only when you are going to immediately set the values yourself using the VERTEXDATA commands.
Constants for all allowable FVF settings: