James-Jones / HLSLCrossCompiler

Other
468 stars 81 forks source link

cbuffer with array of structs #36

Open pixelnerve opened 8 years ago

pixelnerve commented 8 years ago

Hello there, So it seems we can't have arrays in a cbuffer. how do you work around that?

This is for a specific case. Pass an array of lights structs to a shader