MTLScissorRect.cs 450 B

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