VertexBuffer
Constructor
Description:
Constructs the vertex buffer with the given capacity, measured in floats.
Constructs the vertex buffer with the given capacity, measured in floats.
Parameters
Parameter | Type | Description |
---|---|---|
sizeInFloats | Int32 | The number of floats that the buffer can contain. |
Return Value
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This VertexBuffer is not available because Revit is not currently rendering. In general, this VertexBuffer must be used in the scope of the RenderScene() callback of IDirectContext3DServer. |