ID3DX10Mesh::GetVertexBuffer method
Retrieves the vertex buffer associated with the mesh.
Syntax
HRESULT GetVertexBuffer(
[in] UINT iBuffer,
[out] ID3DX10MeshBuffer **ppVertexBuffer
);
Parameters
-
iBuffer [in]
-
Type: UINT
The vertex buffer to get. This is an index value.
-
ppVertexBuffer [out]
-
Type: ID3DX10MeshBuffer**
The vertex buffer. See ID3DX10MeshBuffer
Return value
Type: HRESULT
The return value is one of the values listed in Direct3D 10 Return Codes.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also