d3dx9_36: Add missing GetSamplerIndex method to ID3DXConstantTable.
This commit is contained in:
parent
70b79445f6
commit
441ee39495
|
@ -374,6 +374,15 @@ static HRESULT WINAPI ID3DXConstantTableImpl_GetConstantDesc(ID3DXConstantTable*
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static UINT WINAPI ID3DXConstantTableImpl_GetSamplerIndex(LPD3DXCONSTANTTABLE iface, D3DXHANDLE constant)
|
||||||
|
{
|
||||||
|
ID3DXConstantTableImpl *This = (ID3DXConstantTableImpl *)iface;
|
||||||
|
|
||||||
|
FIXME("(%p)->(%p): stub\n", This, constant);
|
||||||
|
|
||||||
|
return (UINT)-1;
|
||||||
|
}
|
||||||
|
|
||||||
static D3DXHANDLE WINAPI ID3DXConstantTableImpl_GetConstant(ID3DXConstantTable* iface, D3DXHANDLE constant, UINT index)
|
static D3DXHANDLE WINAPI ID3DXConstantTableImpl_GetConstant(ID3DXConstantTable* iface, D3DXHANDLE constant, UINT index)
|
||||||
{
|
{
|
||||||
ID3DXConstantTableImpl *This = (ID3DXConstantTableImpl *)iface;
|
ID3DXConstantTableImpl *This = (ID3DXConstantTableImpl *)iface;
|
||||||
|
@ -571,6 +580,7 @@ static const struct ID3DXConstantTableVtbl ID3DXConstantTable_Vtbl =
|
||||||
/*** ID3DXConstantTable methods ***/
|
/*** ID3DXConstantTable methods ***/
|
||||||
ID3DXConstantTableImpl_GetDesc,
|
ID3DXConstantTableImpl_GetDesc,
|
||||||
ID3DXConstantTableImpl_GetConstantDesc,
|
ID3DXConstantTableImpl_GetConstantDesc,
|
||||||
|
ID3DXConstantTableImpl_GetSamplerIndex,
|
||||||
ID3DXConstantTableImpl_GetConstant,
|
ID3DXConstantTableImpl_GetConstant,
|
||||||
ID3DXConstantTableImpl_GetConstantByName,
|
ID3DXConstantTableImpl_GetConstantByName,
|
||||||
ID3DXConstantTableImpl_GetConstantByElement,
|
ID3DXConstantTableImpl_GetConstantByElement,
|
||||||
|
|
|
@ -129,6 +129,7 @@ DECLARE_INTERFACE_(ID3DXConstantTable, ID3DXBuffer)
|
||||||
/*** ID3DXConstantTable methods ***/
|
/*** ID3DXConstantTable methods ***/
|
||||||
STDMETHOD(GetDesc)(THIS_ D3DXCONSTANTTABLE_DESC *pDesc) PURE;
|
STDMETHOD(GetDesc)(THIS_ D3DXCONSTANTTABLE_DESC *pDesc) PURE;
|
||||||
STDMETHOD(GetConstantDesc)(THIS_ D3DXHANDLE hConstant, D3DXCONSTANT_DESC *pConstantDesc, UINT *pCount) PURE;
|
STDMETHOD(GetConstantDesc)(THIS_ D3DXHANDLE hConstant, D3DXCONSTANT_DESC *pConstantDesc, UINT *pCount) PURE;
|
||||||
|
STDMETHOD_(UINT, GetSamplerIndex)(THIS_ D3DXHANDLE hConstant) PURE;
|
||||||
STDMETHOD_(D3DXHANDLE, GetConstant)(THIS_ D3DXHANDLE hConstant, UINT Index) PURE;
|
STDMETHOD_(D3DXHANDLE, GetConstant)(THIS_ D3DXHANDLE hConstant, UINT Index) PURE;
|
||||||
STDMETHOD_(D3DXHANDLE, GetConstantByName)(THIS_ D3DXHANDLE hConstant, LPCSTR pName) PURE;
|
STDMETHOD_(D3DXHANDLE, GetConstantByName)(THIS_ D3DXHANDLE hConstant, LPCSTR pName) PURE;
|
||||||
STDMETHOD_(D3DXHANDLE, GetConstantElement)(THIS_ D3DXHANDLE hConstant, UINT Index) PURE;
|
STDMETHOD_(D3DXHANDLE, GetConstantElement)(THIS_ D3DXHANDLE hConstant, UINT Index) PURE;
|
||||||
|
@ -161,6 +162,7 @@ DECLARE_INTERFACE_(ID3DXConstantTable, ID3DXBuffer)
|
||||||
/*** ID3DXConstantTable methods ***/
|
/*** ID3DXConstantTable methods ***/
|
||||||
#define ID3DXConstantTable_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
|
#define ID3DXConstantTable_GetDesc(p,a) (p)->lpVtbl->GetDesc(p,a)
|
||||||
#define ID3DXConstantTable_GetConstantDesc(p,a,b,c) (p)->lpVtbl->GetConstantDesc(p,a,b,c)
|
#define ID3DXConstantTable_GetConstantDesc(p,a,b,c) (p)->lpVtbl->GetConstantDesc(p,a,b,c)
|
||||||
|
#define ID3DXConstantTable_GetSamplerIndex(p,a) (p)->lpVtbl->GetSamplerIndex(p,a)
|
||||||
#define ID3DXConstantTable_GetConstant(p,a,b) (p)->lpVtbl->GetConstant(p,a,b)
|
#define ID3DXConstantTable_GetConstant(p,a,b) (p)->lpVtbl->GetConstant(p,a,b)
|
||||||
#define ID3DXConstantTable_GetConstantByName(p,a,b) (p)->lpVtbl->GetConstantByName(p,a,b)
|
#define ID3DXConstantTable_GetConstantByName(p,a,b) (p)->lpVtbl->GetConstantByName(p,a,b)
|
||||||
#define ID3DXConstantTable_GetConstantElement(p,a,b) (p)->lpVtbl->GetConstantElement(p,a,b)
|
#define ID3DXConstantTable_GetConstantElement(p,a,b) (p)->lpVtbl->GetConstantElement(p,a,b)
|
||||||
|
@ -191,6 +193,7 @@ DECLARE_INTERFACE_(ID3DXConstantTable, ID3DXBuffer)
|
||||||
/*** ID3DXConstantTable methods ***/
|
/*** ID3DXConstantTable methods ***/
|
||||||
#define ID3DXConstantTable_GetDesc(p,a) (p)->GetDesc(a)
|
#define ID3DXConstantTable_GetDesc(p,a) (p)->GetDesc(a)
|
||||||
#define ID3DXConstantTable_GetConstantDesc(p,a,b,c) (p)->GetConstantDesc(a,b,c)
|
#define ID3DXConstantTable_GetConstantDesc(p,a,b,c) (p)->GetConstantDesc(a,b,c)
|
||||||
|
#define ID3DXConstantTable_GetSamplerIndex(p,a) (p)->GetConstantDesc(a)
|
||||||
#define ID3DXConstantTable_GetConstant(p,a,b) (p)->GetConstant(a,b)
|
#define ID3DXConstantTable_GetConstant(p,a,b) (p)->GetConstant(a,b)
|
||||||
#define ID3DXConstantTable_GetConstantByName(p,a,b) (p)->GetConstantByName(a,b)
|
#define ID3DXConstantTable_GetConstantByName(p,a,b) (p)->GetConstantByName(a,b)
|
||||||
#define ID3DXConstantTable_GetConstantElement(p,a,b) (p)->GetConstantElement(a,b)
|
#define ID3DXConstantTable_GetConstantElement(p,a,b) (p)->GetConstantElement(a,b)
|
||||||
|
|
Loading…
Reference in New Issue