Skip to content

Latest commit

 

History

History
70 lines (41 loc) · 1.18 KB

id3dxpatchmesh--unlockvertexbuffer.md

File metadata and controls

70 lines (41 loc) · 1.18 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Unlock the vertex buffer.
98b82fd1-56e8-45f3-bf26-a1e3b54c2979
ID3DXPatchMesh::UnlockVertexBuffer method (D3DX9Mesh.h)
reference
05/31/2018
APIRef
kbSyntax
ID3DXPatchMesh.UnlockVertexBuffer
COM
d3dx9.lib
d3dx9.dll

ID3DXPatchMesh::UnlockVertexBuffer method

Unlock the vertex buffer.

Syntax

HRESULT UnlockVertexBuffer();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, E_OUTOFMEMORY.

Remarks

The vertex buffer is usually locked, written to, and then unlocked for reading.

Requirements

Requirement Value
Header
D3DX9Mesh.h
Library
D3dx9.lib

See also

ID3DXPatchMesh