在Directx裡面你就必須注意float pad1,和floatpad2. __declspec(align(16)) struct Light { XMFLOAT3 pos;. float pad1; XMFLOAT3 dir;. float pad2 ...
確定! 回上一頁