ReactOS  0.4.15-dev-509-g96a357b
d3d9_resource.c
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: ReactOS ReactX
4  * FILE: dll/directx/d3d9/d3d9_resource.c
5  * PURPOSE: d3d9.dll internal resource functions
6  * PROGRAMERS: Gregor Gullwi <gbrunmar (dot) ros (at) gmail (dot) com>
7  */
8 #include "d3d9_resource.h"
9 #include "d3d9_device.h"
10 
12 {
13  InitD3D9BaseObject(&pResource->BaseObject, RefType, (IUnknown*)&pBaseDevice->lpVtbl);
14 
15  pResource->Pool = Pool;
16 }
struct _IDirect3DDevice9Vtbl_INT * lpVtbl
Definition: d3d9_device.h:88
enum _D3DPOOL D3DPOOL
D3D9BaseObject BaseObject
Definition: d3d9_resource.h:15
Definition: bufpool.h:50
REF_TYPE
void InitDirect3DResource9(Direct3DResource9_INT *pResource, D3DPOOL Pool, LPDIRECT3DDEVICE9_INT pBaseDevice, enum REF_TYPE RefType)
Definition: d3d9_resource.c:11
VOID InitD3D9BaseObject(D3D9BaseObject *pBaseObject, enum REF_TYPE RefType, IUnknown *pUnknown)