MTLComputePipelineState.cs 273 B

1234567891011
  1. using System;
  2. namespace Veldrid.MetalBindings
  3. {
  4. public struct MTLComputePipelineState
  5. {
  6. public readonly IntPtr NativePtr;
  7. public MTLComputePipelineState(IntPtr ptr) => NativePtr = ptr;
  8. public bool IsNull => NativePtr == IntPtr.Zero;
  9. }
  10. }