MTLOrigin.cs 337 B

123456789101112131415161718
  1. using System;
  2. namespace Veldrid.MetalBindings
  3. {
  4. public struct MTLOrigin
  5. {
  6. public UIntPtr x;
  7. public UIntPtr y;
  8. public UIntPtr z;
  9. public MTLOrigin(uint x, uint y, uint z)
  10. {
  11. this.x = (UIntPtr)x;
  12. this.y = (UIntPtr)y;
  13. this.z = (UIntPtr)z;
  14. }
  15. }
  16. }