Gets a stream that can be used to write vertices of type VertexPositionColored into the buffer.
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public VertexStreamPositionColored GetVertexStreamPositionColored()
Return Value
VertexStreamPositionColoredThe stream that can be used to write into this buffer.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown if the buffer is not mapped. -or- Thrown if the buffer has insufficient space. |
