Share

VertexBuffer Methods

The VertexBuffer type exposes the following members.

Methods

 NameDescription
Public methodDispose 
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetVertexStreamPosition Gets a stream that can be used to write vertices of type VertexPosition into the buffer.
Public methodGetVertexStreamPositionColored Gets a stream that can be used to write vertices of type VertexPositionColored into the buffer.
Public methodGetVertexStreamPositionNormal Gets a stream that can be used to write vertices of type VertexPositionNormal into the buffer.
Public methodGetVertexStreamPositionNormalColored Gets a stream that can be used to write vertices of type VertexPositionNormalColored into the buffer.
Public methodIsValid Tests whether the buffer is valid for rendering.
Public methodMap Maps a portion of the buffer into memory, so that vertex data can be written into it. (see VertexStream).
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUnmap Unmaps the buffer, so that it can be used for rendering.

See Also

Reference

Was this information helpful?