PerObjectData.bslinc 341 B

1234567891011121314151617181920212223
  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. float4x4 gMatPrevWorld;
  13. float gWorldDeterminantSign;
  14. uint gLayer;
  15. }
  16. [internal]
  17. cbuffer PerCall
  18. {
  19. float4x4 gMatWorldViewProj;
  20. }
  21. };
  22. };