IndexBuffer Members

The IndexBuffer type exposes the following members.

Constructors

  NameDescription
Public methodIndexBuffer
Constructs the index buffer with the given capacity, measured in short integers.

Methods

  NameDescription
Public methodDispose
Releases all resources used by the IndexBuffer
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetIndexStreamLine
Gets a stream that can be used to write IndexLine segment primitives into the buffer.
Public methodGetIndexStreamPoint
Gets a stream that can be used to write IndexPoint primitives into the buffer.
Public methodGetIndexStreamTriangle
Gets a stream that can be used to write IndexTriangle primitives into the buffer.
Public methodGetMappedHandle
Gets a handle to the buffer's memory that has been mapped. Writing data to the buffer using the handle is an alternative to using stream objects.
Public methodGetType (Inherited from Object.)
Public methodIsValid
Tests whether the buffer is valid for rendering.
Public methodMap
Maps a portion of the index buffer into memory, so that indices can be written into it. see IndexStream.
Public methodToString (Inherited from Object.)
Public methodUnmap
Unmaps the buffer so that it can be used for rendering.

Properties

  NameDescription
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also