Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Access the mesh's vertex buffer after it has been committed to the device with ID3DX10Mesh::CommitToDevice. This is different from ID3DX10Mesh::GetVertexBuffer, which returns the vertex buffer before it has been committed to the device.
Syntax
HRESULT GetDeviceVertexBuffer(
[in] UINT iBuffer,
[out] ID3D10Buffer **ppVertexBuffer
);
Parameters
-
iBuffer [in]
-
Type: UINT
An index identifying which vertex buffer to access.
-
ppVertexBuffer [out]
-
Type: ID3D10Buffer**
The vertex buffer after it has been committed to the device.
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