HLSL - Why Can't I Redefine this Array?

前端 未结 0 1781
你的背包
你的背包 2020-12-09 10:45
float myArray[5] = { 0, 0, 0, 0, 0 };
myArray = { 1, 2, 3, 4, 5 };

Why is this not possible to do in HLSL? Is it some kind of memory issue?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题