ID3DXConstantTable::GetDesc method

Gets a description of the constant table.

Syntax

HRESULT GetDesc(
  [in] D3DXCONSTANTTABLE_DESC *pDesc
);

Parameters

pDesc [in]

Type: D3DXCONSTANTTABLE_DESC*

Description of the constant table. See D3DXCONSTANTTABLE_DESC.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, D3DXERR_INVALIDDATA.

Requirements

Requirement Value
Header
D3DX9Shader.h
Library
D3dx9.lib

See also

ID3DXConstantTable

ID3DXConstantTable::GetConstantDesc