0
アルファチャンネルの画像を で描画できますが、カラーパラメータでアルファチャンネルを変更することはできません。唯一の8ビットテクスチャで追加のアルファチャンネルを使用してスプライトを描画する
void DrawRect(float x, float y, int width, int height, DWORD color)
{
imgPosition.x = x;
imgPosition.y = y;
imgSize.left = 0;
imgSize.right = width;
imgSize.top = 0;
imgSize.bottom = height;
d3dImage->Draw(texWhite, &imgSize, NULL, &imgPosition, color);
}