コード例 #1
0
 public void dispatchThreadgroupsWithIndirectBuffer(
     MTLBuffer indirectBuffer,
     UIntPtr indirectBufferOffset,
     MTLSize threadsPerThreadgroup)
 => objc_msgSend(NativePtr, sel_dispatchThreadgroups1,
                 indirectBuffer.NativePtr,
                 indirectBufferOffset,
                 threadsPerThreadgroup);
コード例 #2
0
ファイル: ObjectiveCRuntime.cs プロジェクト: tboogh/veldrid
 public static extern void objc_msgSend(
     IntPtr receiver,
     Selector selector,
     MTLTexture a,
     UIntPtr b,
     UIntPtr c,
     MTLOrigin d,
     MTLSize e,
     MTLBuffer f,
     UIntPtr g,
     UIntPtr h,
     UIntPtr i);
コード例 #3
0
ファイル: ObjectiveCRuntime.cs プロジェクト: tboogh/veldrid
 public static extern void objc_msgSend(
     IntPtr receiver,
     Selector selector,
     IntPtr a,
     UIntPtr b,
     UIntPtr c,
     UIntPtr d,
     MTLSize e,
     IntPtr f,
     UIntPtr g,
     UIntPtr h,
     MTLOrigin i);
コード例 #4
0
ファイル: ObjectiveCRuntime.cs プロジェクト: yvanoff/veldrid
 public static extern void objc_msgSend(
     IntPtr receiver,
     Selector selector,
     MTLTexture sourceTexture,
     UIntPtr sourceSlice,
     UIntPtr sourceLevel,
     MTLOrigin sourceOrigin,
     MTLSize sourceSize,
     MTLTexture destinationTexture,
     UIntPtr destinationSlice,
     UIntPtr destinationLevel,
     MTLOrigin destinationOrigin);
コード例 #5
0
 public void copyTextureToBuffer(
     MTLTexture sourceTexture,
     UIntPtr sourceSlice,
     UIntPtr sourceLevel,
     MTLOrigin sourceOrigin,
     MTLSize sourceSize,
     MTLBuffer destinationBuffer,
     UIntPtr destinationOffset,
     UIntPtr destinationBytesPerRow,
     UIntPtr destinationBytesPerImage)
 => objc_msgSend(NativePtr, sel_copyFromTexture,
                 sourceTexture,
                 sourceSlice,
                 sourceLevel,
                 sourceOrigin,
                 sourceSize,
                 destinationBuffer,
                 destinationOffset,
                 destinationBytesPerRow,
                 destinationBytesPerImage);
コード例 #6
0
 public void copyFromTexture(
     MTLTexture sourceTexture,
     UIntPtr sourceSlice,
     UIntPtr sourceLevel,
     MTLOrigin sourceOrigin,
     MTLSize sourceSize,
     MTLTexture destinationTexture,
     UIntPtr destinationSlice,
     UIntPtr destinationLevel,
     MTLOrigin destinationOrigin)
 => objc_msgSend(NativePtr, sel_copyFromTexture1,
                 sourceTexture,
                 sourceSlice,
                 sourceLevel,
                 sourceOrigin,
                 sourceSize,
                 destinationTexture,
                 destinationSlice,
                 destinationLevel,
                 destinationOrigin);
コード例 #7
0
 public void copyFromBuffer(
     MTLBuffer sourceBuffer,
     UIntPtr sourceOffset,
     UIntPtr sourceBytesPerRow,
     UIntPtr sourceBytesPerImage,
     MTLSize sourceSize,
     MTLTexture destinationTexture,
     UIntPtr destinationSlice,
     UIntPtr destinationLevel,
     MTLOrigin destinationOrigin)
 => objc_msgSend(
     NativePtr,
     sel_copyFromBuffer1,
     sourceBuffer.NativePtr,
     sourceOffset,
     sourceBytesPerRow,
     sourceBytesPerImage,
     sourceSize,
     destinationTexture.NativePtr,
     destinationSlice,
     destinationLevel,
     destinationOrigin);
コード例 #8
0
ファイル: ObjectiveCRuntime.cs プロジェクト: tboogh/veldrid
 public static extern void objc_msgSend(IntPtr receiver, Selector selector, IntPtr c, UIntPtr d, MTLSize e);
コード例 #9
0
ファイル: ObjectiveCRuntime.cs プロジェクト: tboogh/veldrid
 public static extern void objc_msgSend(IntPtr receiver, Selector selector, MTLSize a, MTLSize b);
コード例 #10
0
 public void dispatchThreadGroups(MTLSize threadgroupsPerGrid, MTLSize threadsPerThreadgroup)
 => objc_msgSend(NativePtr, sel_dispatchThreadgroups0, threadgroupsPerGrid, threadsPerThreadgroup);