<Code Lib>
2026 Constructor
Changes 0
C

VertexBuffer()

Description:
Constructs the vertex buffer with the given capacity, measured in floats.

public VertexBuffer(
	int sizeInFloats
)

  • Int32
    sizeInFloats
    The number of floats that the buffer can contain.

  • 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.

Loading…