造成上诉问题的罪魁祸首就是:在HLSL中,Constant Buffer遵循了打包规则。 ... arrayData[5]; }; static float array[18] = (float[18])arrayData;.
確定! 回上一頁