Skip to content

Latest commit

 

History

History
93 lines (58 loc) · 1.68 KB

id3dxtextureshader--setfloatarray.md

File metadata and controls

93 lines (58 loc) · 1.68 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
ID3DXTextureShader::SetFloatArray method - Sets an array of floating-point numbers.
8e64b569-a6bf-4925-9d21-4df0b6661ee2
ID3DXTextureShader::SetFloatArray method (D3DX9Shader.h)
reference
05/31/2018
APIRef
kbSyntax
ID3DXTextureShader.SetFloatArray
COM
d3dx9.lib
d3dx9.dll

ID3DXTextureShader::SetFloatArray method

Sets an array of floating-point numbers.

Syntax

HRESULT SetFloatArray(
  [in]       D3DXHANDLE hConstant,
  [in] const FLOAT      *pf,
  [in]       UINT       Count
);

Parameters

hConstant [in]

Type: D3DXHANDLE

Unique identifier to the array of constants. See D3DXHANDLE.

pf [in]

Type: const FLOAT*

Array of floating-point numbers.

Count [in]

Type: UINT

Number of floating-point values in the array.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

Requirements

Requirement Value
Header
D3DX9Shader.h
Library
D3dx9.lib

See also

ID3DXTextureShader