1234567891011121314151617181920 |
- using System;
- using System.Runtime.InteropServices;
- namespace Veldrid.MetalBindings
- {
- [StructLayout(LayoutKind.Sequential)]
- public struct MTLSize
- {
- public UIntPtr Width;
- public UIntPtr Height;
- public UIntPtr Depth;
- public MTLSize(uint width, uint height, uint depth)
- {
- Width = (UIntPtr)width;
- Height = (UIntPtr)height;
- Depth = (UIntPtr)depth;
- }
- }
- }
|