Share via


PatchMesh.VertexBuffer Property (Microsoft.DirectX.Direct3D)

Retrieves the mesh vertex buffer.

Definition

Visual Basic Public ReadOnly Property VertexBuffer As VertexBuffer
C# public VertexBuffer VertexBuffer { get; }
C++ public:
property VertexBuffer^ VertexBuffer {
        VertexBuffer^ get();
}
JScript public function get VertexBuffer() : VertexBuffer

Property Value

Microsoft.DirectX.Direct3D.VertexBuffer
A VertexBuffer object that represents the mesh vertex buffer.

This property is read-only. 

Remarks

This method assumes uniform tessellation.

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.