IDirect3DDevice9::SetPixelShaderConstantI

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

HRESULT 
SetPixelShaderConstantI(
  UINT StartRegister,
  CONST int * pConstantData,
  UINT Vector4iCount
);

パラメータ

  • StartRegister
    最初の定数値を格納するレジスタ番号です。
  • pConstantData
    定数の配列へのポインター
  • Vector4iCount
    定数の配列内の 4 つの整数ベクトルの数

戻り値

メソッドが成功した場合は、D3D_OK を返します。失敗した場合は、D3DERR_INVALIDCALL を返します。

要件

ヘッダー: D3D9.h 宣言

ライブラリ: D3D9.lib 内容

関連項目

IDirect3DDevice9::GetPixelShaderConstantI