PerObjectData.bslinc 271 B

12345678910111213141516171819
  1. mixin PerObjectData
  2. {
  3. code
  4. {
  5. cbuffer PerObject
  6. {
  7. float4x4 gMatWorld;
  8. float4x4 gMatInvWorld;
  9. float4x4 gMatWorldNoScale;
  10. float4x4 gMatInvWorldNoScale;
  11. float gWorldDeterminantSign;
  12. }
  13. cbuffer PerCall
  14. {
  15. float4x4 gMatWorldViewProj;
  16. }
  17. };
  18. };