description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Gets a pointer to the array of constants in the constant table. |
2476344b-8433-46bb-9242-dff84e3168e7 |
ID3DXTextureShader::GetConstantDesc method (D3DX9Shader.h) |
reference |
05/31/2018 |
|
|
|
|
Gets a pointer to the array of constants in the constant table.
HRESULT GetConstantDesc(
[in] D3DXHANDLE hConstant,
[in, out] D3DXCONSTANT_DESC *pDesc,
[in, out] UINT *pCount
);
-
hConstant [in]
-
Type: D3DXHANDLE
Unique identifier to a constant. See D3DXHANDLE.
-
pDesc [in, out]
-
Type: D3DXCONSTANT_DESC*
Returns a pointer to an array of descriptions. See D3DXCONSTANT_DESC.
-
pCount [in, out]
-
Type: UINT*
The input supplied must be the maximum size of the array. The output is the number of elements that are filled in the array when the function returns.
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.
Samplers can appear more than once in a constant table, therefore, this method can return an array of descriptions each with a different register index.
Requirement | Value |
---|---|
Header |
|
Library |
|