IndexBuffer
Description:
A buffer that stores vertex indices for rendering.
A buffer that stores vertex indices for rendering.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.DirectContext3D.IndexBuffer
System.Object
Autodesk.Revit.DB.DirectContext3D.IndexBuffer
public class IndexBuffer : IDisposable
| Name | Return Type | Description |
|---|---|---|
| IndexBuffer(Int32) | None | Constructs the index buffer with the given capacity, measured in short integers. |
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetIndexStreamLine() | IndexStreamLine | Gets a stream that can be used to write segment primitives into the buffer. |
| GetIndexStreamPoint() | IndexStreamPoint | Gets a stream that can be used to write primitives into the buffer. |
| GetIndexStreamTriangle() | IndexStreamTriangle | Gets a stream that can be used to write primitives into the buffer. |
| GetMappedHandle() | IntPtr | 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. |
| IsValid() | bool | Tests whether the buffer is valid for rendering. |
| Map(Int32) | None | Maps a portion of the index buffer into memory, so that indices can be written into it. see . |
| Unmap() | None | Unmaps the buffer so that it can be used for rendering. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |