2027 Class
Changes 0
C

VertexBuffer

Description:
A buffer that stores vertex data for rendering.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.DirectContext3D.VertexBuffer
public class VertexBuffer : IDisposable
Name Return Type Description Inherited From
C VertexBuffer(Int32) None Constructs the vertex buffer with the given capacity, measured in floats.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the VertexBuffer
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M 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.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M GetVertexStreamPosition() VertexStreamPosition Gets a stream that can be used to write vertices of type VertexPosition into the buffer.
M GetVertexStreamPositionColored() VertexStreamPositionColored Gets a stream that can be used to write vertices of type VertexPositionColored into the buffer.
M GetVertexStreamPositionNormal() VertexStreamPositionNormal Gets a stream that can be used to write vertices of type VertexPositionNormal into the buffer.
M GetVertexStreamPositionNormalColored() VertexStreamPositionNormalColored Gets a stream that can be used to write vertices of type VertexPositionNormalColored into the buffer.
M IsValid() Boolean Tests whether the buffer is valid for rendering.
M Map(Int32) None Maps a portion of the buffer into memory, so that vertex data can be written into it. (see VertexStream ).
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
M Unmap() None Unmaps the buffer, so that it can be used for rendering.
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.