PerObjectData.bslinc 297 B

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