|
|
HRESULT D3DXLoadMeshHierarchyFromXInMemory(
LPCVOID pMemory,
DWORD SizeOfMemory,
DWORD MeshOptions,
LPDIRECT3DDEVICE9 pDevice,
LPD3DXALLOCATEHIERARCHY pAlloc,
LPD3DXLOADUSERDATA pUserDataLoader,
LPD3DXFRAME * ppFrameHeirarchy,
LPD3DXANIMATIONCONTROLLER * ppAnimController
);
我正在写pak系统,做到x文件这一块了,这个方法很有吸引力
我的问题是
pMemory
[in] Pointer to a buffer that contains the mesh hierarchy.
SizeOfMemory
[in] Size of the pMemory buffer, in bytes.
说的倒是很好,可pMemory 从哪里得来呢?
怎么得来?查了半天api都没找到,唉。。。。 |
|