Share via


IDirect3DDevice9::SetPixelShaderConstantI メソッド (d3d9helper.h)

整数シェーダー定数を設定します。

構文

HRESULT SetPixelShaderConstantI(
  [in] UINT      StartRegister,
  [in] const int *pConstantData,
  [in] UINT      Vector4iCount
);

パラメーター

[in] StartRegister

型: UINT

最初の定数値を含むレジスタ番号。

[in] pConstantData

型: const int*

定数の配列へのポインター。

[in] Vector4iCount

型: UINT

定数の配列内の 4 つの整数ベクトルの数。

戻り値

型: HRESULT

メソッドが成功した場合、戻り値はD3D_OK。 メソッドが失敗した場合は、戻り値をD3DERR_INVALIDCALLできます。

要件

   
対象プラットフォーム Windows
ヘッダー d3d9helper.h (D3D9.h を含む)
Library D3D9.lib

関連項目

IDirect3DDevice9

IDirect3DDevice9::GetPixelShaderConstantI