Instead of: cbuffer cbLightInfo : register(b2) { int nLights : packoffset(c0); int nShadowIndex : packoffset(c4); // - this is the constant }.
確定! 回上一頁