What are possible causes of IDirect3DVertexBuffer9::Lock failing?
- by Suma
In error reports from some I have quite often seen following behaviour: IDirect3DVertexBuffer9::Lock fails, returned error code is D3DERR_NOTAVAILABLE.
Once this happens, quite frequently (but not always) it is followed by CreateTexture or CreateVertexBuffer failing with error D3DERR_OUTOFVIDEOMEMORY.
What are possible reasons for vertex buffer lock failure? Could virtual memory address space exhausted, or what?