11 #ifndef __D3DX8EFFECT_H__ 12 #define __D3DX8EFFECT_H__ 15 #define D3DXFX_DONOTSAVESTATE (1 << 0) 78 0x648b1ceb, 0x8d4e, 0x4d66, 0xb6, 0xfa, 0xe4, 0x49, 0x69, 0xe8, 0x2e, 0x89);
82 #define INTERFACE ID3DXEffect 87 STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
88 STDMETHOD_(ULONG, AddRef)(THIS) PURE;
89 STDMETHOD_(ULONG,
Release)(THIS) PURE;
96 STDMETHOD(GetPassDesc)(THIS_ LPCSTR pTechnique, LPCSTR pPass,
D3DXPASS_DESC* pDesc) PURE;
97 STDMETHOD(FindNextValidTechnique)(THIS_ LPCSTR pTechnique,
D3DXTECHNIQUE_DESC* pDesc) PURE;
99 STDMETHOD(GetCompiledEffect)(THIS_
LPD3DXBUFFER* ppCompiledEffect) PURE;
101 STDMETHOD(SetTechnique)(THIS_ LPCSTR pTechnique) PURE;
102 STDMETHOD(GetTechnique)(THIS_ LPCSTR* ppTechnique) PURE;
104 STDMETHOD(SetDword)(THIS_ LPCSTR pParameter, DWORD dw) PURE;
105 STDMETHOD(GetDword)(THIS_ LPCSTR pParameter, DWORD* pdw) PURE;
106 STDMETHOD(SetFloat)(THIS_ LPCSTR pParameter,
FLOAT f) PURE;
107 STDMETHOD(GetFloat)(THIS_ LPCSTR pParameter,
FLOAT* pf) PURE;
108 STDMETHOD(SetVector)(THIS_ LPCSTR pParameter,
CONST D3DXVECTOR4* pVector) PURE;
109 STDMETHOD(GetVector)(THIS_ LPCSTR pParameter,
D3DXVECTOR4* pVector) PURE;
110 STDMETHOD(SetMatrix)(THIS_ LPCSTR pParameter,
CONST D3DXMATRIX* pMatrix) PURE;
111 STDMETHOD(GetMatrix)(THIS_ LPCSTR pParameter,
D3DXMATRIX* pMatrix) PURE;
114 STDMETHOD(SetVertexShader)(THIS_ LPCSTR pParameter, DWORD Handle) PURE;
115 STDMETHOD(GetVertexShader)(THIS_ LPCSTR pParameter, DWORD* pHandle) PURE;
116 STDMETHOD(SetPixelShader)(THIS_ LPCSTR pParameter, DWORD Handle) PURE;
117 STDMETHOD(GetPixelShader)(THIS_ LPCSTR pParameter, DWORD* pHandle) PURE;
118 STDMETHOD(SetString)(THIS_ LPCSTR pParameter, LPCSTR pString) PURE;
119 STDMETHOD(GetString)(THIS_ LPCSTR pParameter, LPCSTR* ppString) PURE;
120 STDMETHOD_(
BOOL, IsParameterUsed)(THIS_ LPCSTR pParameter) PURE;
122 STDMETHOD(Validate)(THIS) PURE;
123 STDMETHOD(Begin)(THIS_
UINT *pPasses, DWORD Flags) PURE;
125 STDMETHOD(End)(THIS) PURE;
126 STDMETHOD(OnLostDevice)(THIS) PURE;
127 STDMETHOD(OnResetDevice)(THIS) PURE;
183 #define D3DXCreateEffectFromFile D3DXCreateEffectFromFileW 185 #define D3DXCreateEffectFromFile D3DXCreateEffectFromFileA 201 LPCWSTR pSrcResource,
206 #define D3DXCreateEffectFromResource D3DXCreateEffectFromResourceW 208 #define D3DXCreateEffectFromResource D3DXCreateEffectFromResourceA HRESULT WINAPI D3DXCreateEffectFromResourceA(LPDIRECT3DDEVICE8 pDevice, HMODULE hSrcModule, LPCSTR pSrcResource, LPD3DXEFFECT *ppEffect, LPD3DXBUFFER *ppCompilationErrors)
Definition: d3dx8effect.h:51
struct IDirect3DDevice8 * LPDIRECT3DDEVICE8
Definition: d3d8.h:326
Definition: d3d8types.h:77
struct _D3DXPARAMETER_DESC D3DXPARAMETER_DESC
interface ID3DXEffect ID3DXEffect
Definition: d3dx8effect.h:73
Definition: glslang_tab.cpp:129
LPCSTR Index
Definition: d3dx8effect.h:54
LPCSTR Name
Definition: d3dx8effect.h:44
Definition: d3dx8effect.h:42
Definition: d3dx8effect.h:23
GLfloat f
Definition: glext.h:8207
D3DXPARAMETERTYPE Type
Definition: d3dx8effect.h:46
UINT Parameters
Definition: d3dx8effect.h:36
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
LPCSTR Index
Definition: d3dx8effect.h:45
struct IDirect3DBaseTexture8 * LPDIRECT3DBASETEXTURE8
Definition: d3d8.h:630
HRESULT WINAPI D3DXCreateEffect(LPDIRECT3DDEVICE8 pDevice, LPCVOID pSrcData, UINT SrcDataSize, LPD3DXEFFECT *ppEffect, LPD3DXBUFFER *ppCompilationErrors)
Definition: d3dx8effect.h:26
Definition: d3dx8effect.h:29
Definition: d3dx8effect.h:21
LPCSTR Name
Definition: d3dx8effect.h:62
Definition: d3dx8math.h:127
Definition: d3dx8effect.h:27
Definition: d3dx8effect.h:25
HRESULT WINAPI D3DXCreateEffectFromFileW(LPDIRECT3DDEVICE8 pDevice, LPCWSTR pSrcFile, LPD3DXEFFECT *ppEffect, LPD3DXBUFFER *ppCompilationErrors)
struct _D3DXPASS_DESC D3DXPASS_DESC
UINT Techniques
Definition: d3dx8effect.h:37
Definition: d3dx8effect.h:20
Definition: ffmpeg_fft.c:42
Definition: d3dx8effect.h:28
LPCSTR Index
Definition: d3dx8effect.h:63
UINT Passes
Definition: d3dx8effect.h:55
LPCSTR Name
Definition: d3dx8effect.h:53
_D3DXPARAMETERTYPE
Definition: d3dx8effect.h:18
struct _D3DXEFFECT_DESC D3DXEFFECT_DESC
static INLINE ULONG Release(void *object)
Definition: dxgi_common.h:253
HRESULT WINAPI D3DXCreateEffectFromFileA(LPDIRECT3DDEVICE8 pDevice, LPCSTR pSrcFile, LPD3DXEFFECT *ppEffect, LPD3DXBUFFER *ppCompilationErrors)
unsigned int BOOL
Definition: gctypes.h:51
DEFINE_GUID(IID_ID3DXEffect, 0x648b1ceb, 0x8d4e, 0x4d66, 0xb6, 0xfa, 0xe4, 0x49, 0x69, 0xe8, 0x2e, 0x89)
interface ID3DXBuffer * LPD3DXBUFFER
Definition: d3dx8core.h:29
interface ID3DXEffect * LPD3DXEFFECT
Definition: d3dx8effect.h:74
HRESULT WINAPI D3DXCreateEffectFromResourceW(LPDIRECT3DDEVICE8 pDevice, HMODULE hSrcModule, LPCWSTR pSrcResource, LPD3DXEFFECT *ppEffect, LPD3DXBUFFER *ppCompilationErrors)
Definition: d3dx8effect.h:34
enum _D3DXPARAMETERTYPE D3DXPARAMETERTYPE
Definition: glslang_tab.cpp:136
Definition: d3dx8effect.h:60
Definition: glslang_tab.cpp:133
struct _D3DXTECHNIQUE_DESC D3DXTECHNIQUE_DESC
Definition: d3dx8effect.h:22
Definition: d3dx8effect.h:24
DECLARE_INTERFACE_(ID3DXEffect, IUnknown)
Definition: d3dx8effect.h:84