ReactOS 0.4.16-dev-340-g0540c21
d3d9_resource.c File Reference
#include "d3d9_resource.h"
#include "d3d9_device.h"
Include dependency graph for d3d9_resource.c:

Go to the source code of this file.

Functions

void InitDirect3DResource9 (Direct3DResource9_INT *pResource, D3DPOOL Pool, LPDIRECT3DDEVICE9_INT pBaseDevice, enum REF_TYPE RefType)
 

Function Documentation

◆ InitDirect3DResource9()

void InitDirect3DResource9 ( Direct3DResource9_INT pResource,
D3DPOOL  Pool,
LPDIRECT3DDEVICE9_INT  pBaseDevice,
enum REF_TYPE  RefType 
)

Definition at line 11 of file d3d9_resource.c.

12{
13 InitD3D9BaseObject(&pResource->BaseObject, RefType, (IUnknown*)&pBaseDevice->lpVtbl);
14
15 pResource->Pool = Pool;
16}
Definition: bufpool.h:50
VOID InitD3D9BaseObject(D3D9BaseObject *pBaseObject, enum REF_TYPE RefType, IUnknown *pUnknown)
struct _IDirect3DDevice9Vtbl_INT * lpVtbl
Definition: d3d9_device.h:88
D3D9BaseObject BaseObject
Definition: d3d9_resource.h:15

Referenced by InitDirect3DBaseTexture9().