mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
36 lines
935 B
C
36 lines
935 B
C
|
|
#ifndef D3D9_BASE_TEXTURE_H
|
||
|
|
#define D3D9_BASE_TEXTURE_H
|
||
|
|
|
||
|
|
DECLARE_STRUCT(IDirect3DBaseTexture9__v_table);
|
||
|
|
DECLARE_STRUCT(IDirect3DBaseTexture9);
|
||
|
|
|
||
|
|
struct IDirect3DBaseTexture9__v_table {
|
||
|
|
/*** IUnknown methods ***/
|
||
|
|
void* v_fn_0_QueryInterface;
|
||
|
|
void* v_fn_1_AddRef;
|
||
|
|
void* v_fn_2_Release;
|
||
|
|
/*** IDirect3DResource9 methods ***/
|
||
|
|
void* v_fn_3_GetDevice;
|
||
|
|
void* v_fn_4_SetPrivateData;
|
||
|
|
void* v_fn_5_GetPrivateData;
|
||
|
|
void* v_fn_6_FreePrivateData;
|
||
|
|
void* v_fn_7_SetPriority;
|
||
|
|
void* v_fn_8_GetPriority;
|
||
|
|
void* v_fn_9_PreLoad;
|
||
|
|
void* v_fn_10_GetType;
|
||
|
|
/*** IDirect3DBaseTexture9 methods ***/
|
||
|
|
void* v_fn_11_SetLOD;
|
||
|
|
void* v_fn_12_GetLOD;
|
||
|
|
void* v_fn_13_GetLevelCount;
|
||
|
|
void* v_fn_14_SetAutoGenFilterType;
|
||
|
|
void* v_fn_15_GetAutoGenFilterType;
|
||
|
|
void* v_fn_16_GenerateMipSubLevels;
|
||
|
|
};
|
||
|
|
|
||
|
|
struct IDirect3DBaseTexture9 {
|
||
|
|
IDirect3DBaseTexture9__v_table* v_table;
|
||
|
|
};
|
||
|
|
|
||
|
|
typedef IDirect3DBaseTexture9* LPDIRECT3DBASETEXTURE9;
|
||
|
|
|
||
|
|
#endif
|