次の方法で共有


ピクセル シェーダ アセンブリ

ピクセル シェーダ アセンブリ

アセンブリ レベルのピクセル シェーダ命令の例を示す。

PixelShader = 
asm
{
   ps_1_1
   tex t0            // get texture sample from stage 0
   tex t1            // get texture sample from stage 1
   mul_x2 r0,t1,t0;  // blend them together in an interesting way
};