將語義新增至著色器變數的語法如下所示(變數語法(DIRECTX HLSL) ) 。 ... float4 psMainD3D9( float4 screenSpace : VPOS ) : COLOR { // code here }.
確定! 回上一頁